Click or drag to resize

VertexAttributeSize Property

Get the size of the vertex attribute.

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

Property Value

Type: Int32
Remarks
The size is the number of values for each element of the vertex attribute array, and it will be 1, 2, 3, or 4. The initial value is 4.

OpenGL API: glGetVertexAttribiv(GL_VERTEX_ATTRIB_ARRAY_SIZE)

See Also