VertexAttribute Structure |
Namespace: Ooogles
The VertexAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| VertexAttribute(Program, String) |
Creates a vertex attribute.
| |
| VertexAttribute(Program, Int32, String) |
Creates a vertex attribute by binding a user-defined attribute name to an attribute location.
|
| Name | Description | |
|---|---|---|
| Buffer |
Get the buffer object currently bound to the binding point corresponding to the generic vertex attribute.
| |
| IsEnabled |
Get whether the vertex attribute is enabled or not.
| |
| IsNormalized |
Get whether data for the vertex attribute is normalized when converted to floating-point.
| |
| Location |
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.
| |
| Size |
Get the size of the vertex attribute.
| |
| Stride |
Get the array stride for (number of bytes between successive elements in) the vertex attribute.
| |
| Value |
Get the current value for the generic vertex attribute.
| |
| VertexDataType |
Get the data type of the vertex attribute.
|
| Name | Description | |
|---|---|---|
| Disable |
Disables this vertex attribute.
| |
| Enable |
Enables this vertex attribute.
| |
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| SetConfig(VertexAttributeDataType, Int32, Int32, Int32) |
Sets up the attribute for use with a DataBuffer (of type Vertex).
| |
| SetConfigT(Int32, Int32) |
Sets up the attribute for use with a DataBuffer (of type Vertex).
| |
| SetData(VertexAttributeDataType, Int32, Void*, Int32, Boolean) |
Sets up the attribute for use with client data.
| |
| SetDataT(T, Int32, Boolean) |
Sets up the attribute for use with client data.
| |
| SetDataT(VertexAttributeDataType, Int32, T, Int32, Boolean) |
Sets up the attribute for use with client data.
| |
| SetValue(Matrix2) |
Specify the value of a generic vertex attribute or type Matrix2
| |
| SetValue(Matrix2) |
Specify the value of a generic vertex attribute or type Matrix2
| |
| SetValue(Matrix3) |
Specify the value of a generic vertex attribute or type Matrix3
| |
| SetValue(Matrix3) |
Specify the value of a generic vertex attribute or type Matrix3
| |
| SetValue(Matrix4) |
Specify the value of a generic vertex attribute or type Matrix4
| |
| SetValue(Matrix4) |
Specify the value of a generic vertex attribute or type Matrix4
| |
| SetValue(Vector2) |
Specify the value of a generic vertex attribute or type Vector2
| |
| SetValue(Vector2) |
Specify the value of a generic vertex attribute or type Vector2
| |
| SetValue(Vector3) |
Specify the value of a generic vertex attribute or type Vector3
| |
| SetValue(Vector3) |
Specify the value of a generic vertex attribute or type Vector3
| |
| SetValue(Vector4) |
Specify the value of a generic vertex attribute or type Vector4
| |
| SetValue(Vector4) |
Specify the value of a generic vertex attribute or type Vector4
| |
| SetValue(Single) |
Specify the value of a generic vertex attribute
| |
| SetValue(Single, Single) |
Specify the value of a generic vertex attribute
| |
| SetValue(Single, Single, Single) |
Specify the value of a generic vertex attribute
| |
| SetValue(Single, Single, Single, Single) |
Specify the value of a generic vertex attribute
| |
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |