Class VertexBufferColumns

VertexBufferColumns class

Represents a vertex buffer, where every vertex attribute is represented as a vector column.

public class VertexBufferColumns

Constructors

NameDescription
VertexBufferColumns()The default constructor.
VertexBufferColumns(VertexBufferColumns)

Properties

NameDescription
Colors0 { get; set; }
Colors1 { get; set; }
Joints0 { get; set; }
Joints1 { get; set; }
MorphTargets { get; }
Normals { get; set; }
Positions { get; set; }
Tangents { get; set; }
TexCoords0 { get; set; }
TexCoords1 { get; set; }
TexCoords2 { get; set; }
TexCoords3 { get; set; }
Weights0 { get; set; }
Weights1 { get; set; }

Methods

NameDescription
AddMorphTarget()
GetCompatibleVertexType()
IsolateColumns()Performs an in-place copy of the contents of every column, which guarantees that the columns of this VertexBufferColumns are not shared by any other object and can be modified safely.
WithTransform(IGeometryTransform)

Remarks

One of the use cases of VertexBufferColumns is to bind the different attribute columns directly to the Accessor source feed, which means that if you modify the contents of a column that is bound directly to a model, you’re modifying the model’s internal data.

See Also