RDVertexAttribute
繼承: RefCounted < Object
頂點屬性(由 RenderingDevice 使用)。
說明
這個物件由 RenderingDevice 使用。
屬性
|
||
|
||
|
||
|
||
|
屬性說明
DataFormat format = 232 🔗
void set_format(value: DataFormat)
DataFormat get_format()
The way that this attribute's data is interpreted when sent to a shader.
VertexFrequency frequency = 0 🔗
void set_frequency(value: VertexFrequency)
VertexFrequency get_frequency()
The rate at which this attribute is pulled from its vertex buffer.
The location in the shader that this attribute is bound to.
The number of bytes between the start of the vertex buffer and the first instance of this attribute.
The number of bytes between the starts of consecutive instances of this attribute.