Click or drag to resize

VertexAttributeLocation Property

When the vertex attribute is used with client data (that is, when SetData(VertexAttributeDataType, Int32, Void*, Int32, Boolean) is used), then this method returns a pointer to the client data.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int Location { get; }

Property Value

Type: Int32
Remarks
This equals the AData parameter passed to SetData(VertexAttributeDataType, Int32, Void*, Int32, Boolean).

When the vertex attribute is used with a data buffer (that is, when SetConfig(VertexAttributeDataType, Int32, Int32, Int32) is used), then the returned value is undefined.

OpenGL API: glGetVertexAttribPointerv

See Also