public interface ICommandList
Modifier and Type | Method and Description |
---|---|
void |
bindDescriptorSet(IDescriptorSet descriptorSet)
Bind the descriptor set to current pipeline
|
void |
bindIndexBuffer(IIndexBuffer indexBuffer)
Bind the index buffer for rendering
|
void |
bindPipeline(IPipeline pipeline)
Bind the pipeline instance for rendering
|
void |
bindVertexBuffer(IVertexBuffer vertexBuffer)
Bind the vertex buffer for rendering
|
void |
draw()
Draw without index buffer
|
void |
draw(int start,
int count)
Draw without index buffer
|
void |
drawIndex()
Issue an indexed draw into a command list
|
void |
drawIndex(int start,
int count)
Issue an indexed draw into a command list
|
void |
pushConstants(int stage,
byte[] data)
Push the constant to the pipeline
|
void |
pushConstants(int stage,
byte[] data,
int size)
Push the constant to the pipeline
|
void bindPipeline(IPipeline pipeline)
pipeline
- void bindVertexBuffer(IVertexBuffer vertexBuffer)
vertexBuffer
- void bindIndexBuffer(IIndexBuffer indexBuffer)
indexBuffer
- void bindDescriptorSet(IDescriptorSet descriptorSet)
descriptorSet
- void draw(int start, int count)
start
- count
- void draw()
void drawIndex()
void drawIndex(int start, int count)
start
- The first index to drawcount
- The count of indices to drawvoid pushConstants(int stage, byte[] data)
stage
- Which shader stage will consume the constant datadata
- The data that will be sent to the shadervoid pushConstants(int stage, byte[] data, int size)
stage
- Which shader stage will consume the constant datadata
- The data that will be sent to the shadersize
- Bytes to write to the pipeline