VertexAttributeDescriptor Constructor

Declaration

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

Parameters

attribute The VertexAttribute.
format Format of the vertex attribute. Default is VertexAttributeFormat.Float32.
dimension Dimensionality of the vertex attribute (1 to 4). Default is 3.
stream Vertex buffer stream that the attribute should be placed in. Default is 0.

Description

Create a VertexAttributeDescriptor structure.


Did you find this page useful? Please give it a rating: