ICommandList class

ICommandList class

Encodes a sequence of commands which will be sent to GPU to render.

The ICommandList type exposes the following members:

Methods

MethodDescription
draw(self, start, count)Draw without index buffer
draw(self)Draw without index buffer
draw_index(self)Issue an indexed draw into a command list
draw_index(self, start, count)Issue an indexed draw into a command list
push_constants(self, stage, data)Push the constant to the pipeline
push_constants(self, stage, data, size)Push the constant to the pipeline
bind_pipeline(self, pipeline)Bind the pipeline instance for rendering
bind_vertex_buffer(self, vertex_buffer)Bind the vertex buffer for rendering
bind_index_buffer(self, index_buffer)Bind the index buffer for rendering
bind_descriptor_set(self, descriptor_set)Bind the descriptor set to current pipeline

See Also