ICommandList

ICommandList

Przegląd

ICommandList jest interfejsem w Aspose.3D FOSS dla .NET. Dziedziczy po: IDisposable.

Koduje sekwencję poleceń, które zostaną wysłane do GPU w celu renderowania.

Ten interfejs udostępnia 10 metod do pracy z obiektami ICommandList w programach .NET. Dostępne metody obejmują: BindDescriptorSet, BindIndexBuffer, BindPipeline, BindVertexBuffer, Draw, DrawIndex, PushConstants. Wszystkie publiczne członki są dostępne dla każdej aplikacji .NET po zainstalowaniu pakietu Aspose.3D FOSS dla .NET.

Metody

SygnaturaOpis
BindPipeline(pipeline: IPipeline)Powiąż instancję potoku do renderowania
BindVertexBuffer(vertexBuffer: IVertexBuffer)Powiąż bufor wierzchołków do renderowania
BindIndexBuffer(indexBuffer: IIndexBuffer)Powiąż bufor indeksów do renderowania
BindDescriptorSet(descriptorSet: IDescriptorSet)Powiąż zestaw deskryptorów z bieżącym potokiem
Draw(start: int, count: int)Rysuj bez bufora indeksów
Draw()Rysuj bez bufora indeksów
DrawIndex()Zleć rysowanie indeksowane do listy poleceń
DrawIndex(start: int, count: int)Zleć rysowanie indeksowane do listy poleceń
PushConstants(stage: ShaderStage, data: byte[])Wywołuje PushConstants(stage, data) na tej instancji ICommandList.
PushConstants(stage: ShaderStage, data: byte[], size: int)Wywołuje PushConstants(stage, data, size) na tej instancji ICommandList.

Zobacz także

 Polski