C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

Renderable::SetAttributeArray

Defined in:  C4Renderable.h
Sets one of the vertex attribute arrays.
Prototype

void SetAttributeArray(long index, const float *array, long count = 1);

void SetAttributeArray(long index, const Vector2D *array);

void SetAttributeArray(long index, const Vector3D *array);

void SetAttributeArray(long index, const Vector4D *array);

void SetAttributeArray(long index, const ColorRGB *array);

void SetAttributeArray(long index, const ColorRGBA *array);

Parameters
index The index of the attribute array.
array A pointer to the attribute array.
count The number of components per vertex.
Description


See Also

Renderable::GetAttributeArray

Renderable::GetComponentCount