ICommandList

ICommandList

Vue d’ensemble

ICommandList est une interface dans le FOSS Aspose.3D pour .NET. Hérite de : IDisposable.

Encode une séquence de commandes qui seront envoyées au GPU pour le rendu.

Cette interface fournit 10 méthodes pour travailler avec les objets ICommandList dans les programmes .NET. Les méthodes disponibles incluent : BindDescriptorSet, BindIndexBuffer, BindPipeline, BindVertexBuffer, Draw, DrawIndex, PushConstants. Tous les membres publics sont accessibles à toute application .NET après l’installation du paquet Aspose.3D FOSS pour .NET.

Méthodes

SignatureDescription
BindPipeline(pipeline: IPipeline)Lier l’instance du pipeline pour le rendu
BindVertexBuffer(vertexBuffer: IVertexBuffer)Lier le tampon de sommets pour le rendu
BindIndexBuffer(indexBuffer: IIndexBuffer)Lier le tampon d’indices pour le rendu
BindDescriptorSet(descriptorSet: IDescriptorSet)Lier l’ensemble de descripteurs au pipeline actuel
Draw(start: int, count: int)Dessiner sans tampon d’indices
Draw()Dessiner sans tampon d’indices
DrawIndex()Émettre un appel de rendu indexé dans une liste de commandes
DrawIndex(start: int, count: int)Émettre un appel de rendu indexé dans une liste de commandes
PushConstants(stage: ShaderStage, data: byte[])Appelle PushConstants(stage, data) sur cette instance ICommandList.
PushConstants(stage: ShaderStage, data: byte[], size: int)Appelle PushConstants(stage, data, size) sur cette instance ICommandList.

Voir aussi

 Français