Commands and Command Buffers
Different types of commands

Command buffer 生命周期

初始化时记录 command buffer

运行时记录 command buffer

life sycle

Secondary Command buffers
command buffer 可以嵌套,不同的 command buffer 通常异步记录
Data
Descriptor
PushConstants
Paramenters
Atrribute
Descriptor
指向 GPU 内存的指针
PushConstrants 直接向 shader 输入不变数据
Paramenters 将其他 buffer 作为参数
Attribute :只用在 Vertex buffer 里的,顶点信息
最后更新于
这有帮助吗?