ICommandList

ICommandList

Overview

ICommandList is a interface in Aspose.3D FOSS for .NET. Inherits from: IDisposable.

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

This interface provides 10 methods for working with ICommandList objects in .NET programs. Available methods include: BindDescriptorSet, BindIndexBuffer, BindPipeline, BindVertexBuffer, Draw, DrawIndex, PushConstants. All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.

Methods

SignatureDescription
BindPipeline(pipeline: IPipeline)Bind the pipeline instance for rendering
BindVertexBuffer(vertexBuffer: IVertexBuffer)Bind the vertex buffer for rendering
BindIndexBuffer(indexBuffer: IIndexBuffer)Bind the index buffer for rendering
BindDescriptorSet(descriptorSet: IDescriptorSet)Bind the descriptor set to current pipeline
Draw(start: int, count: int)Draw without index buffer
Draw()Draw without index buffer
DrawIndex()Issue an indexed draw into a command list
DrawIndex(start: int, count: int)Issue an indexed draw into a command list
PushConstants(stage: ShaderStage, data: byte[])Calls PushConstants(stage, data) on this ICommandList instance.
PushConstants(stage: ShaderStage, data: byte[], size: int)Calls PushConstants(stage, data, size) on this ICommandList instance.

See Also

 English