VertexAttributeDescriptorConstructor

Cambiar al Manual
public VertexAttributeDescriptor (Rendering.VertexAttribute attribute, Rendering.VertexAttributeFormat format, int dimension, int stream);

Parámetros

attributeThe VertexAttribute.
formatFormat of the vertex attribute. Default is VertexAttributeFormat.Float32.
dimensionDimensionality of the vertex attribute (1 to 4). Default is 3.
streamVertex buffer stream that the attribute should be placed in. Default is 0.

Descripción

Create a VertexAttributeDescriptor structure.