Class RDVertexAttribute
Vertex attribute (used by RenderingDevice).
- Inheritance
-
RDVertexAttribute
Remarks
This object is used by RenderingDevice.
Properties
format
The way that this attribute's data is interpreted when sent to a shader.
var format : int = 232
Property Value
Remarks
frequency
The rate at which this attribute is pulled from its vertex buffer.
var frequency : int = 0
Property Value
Remarks
location
The location in the shader that this attribute is bound to.
var location : int = 0
Property Value
Remarks
offset
The number of bytes between the start of the vertex buffer and the first instance of this attribute.
var offset : int = 0
Property Value
Remarks
stride
The number of bytes between the starts of consecutive instances of this attribute.
var stride : int = 0