VertexAttributeDescriptor
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
csharp
public struct VertexAttributeDescriptorNamespace NodeWorld.Flux.
One attribute of the vertex layout (SetVertexBufferParams): which, in which format, how many values, in which stream (0 to 3).
Fields
attribute
csharp
public VertexAttribute attributeThe attribute.
format
csharp
public VertexAttributeFormat formatThe format of each value.
dimension
csharp
public int dimensionHow many values (1 to 4).
stream
csharp
public int streamThe vertex stream that holds it (0 to 3).
Constructors
VertexAttributeDescriptor
csharp
public VertexAttributeDescriptor(VertexAttribute attribute = VertexAttribute.Position, VertexAttributeFormat format = VertexAttributeFormat.Float32, int dimension = 3, int stream = 0)An attribute of the layout.
