diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-27 10:47:09 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-27 10:47:09 -0600 |
commit | 06f4bcdefb14c77b553f10a805188057952b9cdf (patch) | |
tree | 3e3a35d3d5f6cfa66de7eca5fb2bb9e77310927b | |
parent | 78abba7b0b7e622ab083335f6fdbe1e352da5332 (diff) | |
parent | bd69df1379a122df657b30b639d5b667037f931e (diff) | |
download | redot-engine-06f4bcdefb14c77b553f10a805188057952b9cdf.tar.gz |
Merge pull request #97346 from DevPoodle/vertex-attribute-docs
Add descriptions to RDVertexAttribute's properties
-rw-r--r-- | doc/classes/RDVertexAttribute.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/classes/RDVertexAttribute.xml b/doc/classes/RDVertexAttribute.xml index 31605f5471..364b82526b 100644 --- a/doc/classes/RDVertexAttribute.xml +++ b/doc/classes/RDVertexAttribute.xml @@ -10,14 +10,19 @@ </tutorials> <members> <member name="format" type="int" setter="set_format" getter="get_format" enum="RenderingDevice.DataFormat" default="218"> + The way that this attribute's data is interpreted when sent to a shader. </member> <member name="frequency" type="int" setter="set_frequency" getter="get_frequency" enum="RenderingDevice.VertexFrequency" default="0"> + The rate at which this attribute is pulled from its vertex buffer. </member> <member name="location" type="int" setter="set_location" getter="get_location" default="0"> + The location in the shader that this attribute is bound to. </member> <member name="offset" type="int" setter="set_offset" getter="get_offset" default="0"> + The number of bytes between the start of the vertex buffer and the first instance of this attribute. </member> <member name="stride" type="int" setter="set_stride" getter="get_stride" default="0"> + The number of bytes between the starts of consecutive instances of this attribute. </member> </members> </class> |