VertexAttributeDescriptorConstructor

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

Parameters

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.

Description

Create a VertexAttributeDescriptor structure.