ICommandList
Apžvalga
ICommandList yra sąsaja Aspose.3D FOSS .NET. Įpėdinis iš: IDisposable.
Koduoja komandų seką, kuri bus siunčiama GPU atlikti.
Šis sąsaja suteikia 10 metodų, kaip dirbti su ICommandList objektais .NET programose. Galimi metodai apima: BindDescriptorSet, BindIndexBuffer, BindPipeline, BindVertexBuffer, Draw, DrawIndex, PushConstants. Visi viešieji nariai yra prieinami bet .NET programai po to, kai įdiegėte Aspose.3D FOSS .Net paketą.
Metodai
| Signature | Aprašymas |
|---|---|
BindPipeline(pipeline: IPipeline) | Prijungti vamzdžio instinktą renderingu |
BindVertexBuffer(vertexBuffer: IVertexBuffer) | Sujungti vertex buffer rendering |
BindIndexBuffer(indexBuffer: IIndexBuffer) | Indekso buferis sujungtas renderingu |
BindDescriptorSet(descriptorSet: IDescriptorSet) | Prijungti aprašytoją į dabartinę vamzdį |
Draw(start: int, count: int) | Žymės: be indeksų buffer |
Draw() | Žymės: be indeksų buffer |
DrawIndex() | Įveskite indeksuojamą piešinį į komandos sąrašą |
DrawIndex(start: int, count: int) | Įveskite indeksuojamą piešinį į komandos sąrašą |
PushConstants(stage: ShaderStage, data: byte[]) | Skambinkite PushConstants (stadija, duomenys) šioje ICommandList instance. |
PushConstants(stage: ShaderStage, data: byte[], size: int) | Skambinkite PushConstants (stadija, duomenys, dydis) šioje ICommandList instance. |