RDVertexAttribute
Hereda: RefCounted < Object
Atributo de vértice (utilizado por RenderingDevice).
Descripción
Este objeto es utilizado por RenderingDevice.
Propiedades
|
||
|
||
|
||
|
||
|
||
|
Descripciones de Propiedades
The index of the buffer in the vertex buffer array to bind this vertex attribute. When set to -1, it defaults to the index of the attribute.
Note: You cannot mix binding explicitly assigned attributes with implicitly assigned ones (i.e. -1). Either all attributes must have their binding set to -1, or all must have explicit bindings.
DataFormat format = 232 🔗
void set_format(value: DataFormat)
DataFormat get_format()
La forma en que los datos de este atributo se interpretan cuando se envían a un shader.
VertexFrequency frequency = 0 🔗
void set_frequency(value: VertexFrequency)
VertexFrequency get_frequency()
La velocidad a la que este atributo se extrae de su búfer de vértices.
La ubicación en el shader al que está enlazado este atributo.
El número de bytes entre el inicio del búfer de vértices y la primera instancia de este atributo.
El número de bytes entre el inicio de instancias consecutivas de este atributo.