diff options
author | DevPoodle <richardbonilla112@gmail.com> | 2024-09-22 20:48:46 -0700 |
---|---|---|
committer | DevPoodle <richardbonilla112@gmail.com> | 2024-09-23 05:40:08 -0700 |
commit | bd69df1379a122df657b30b639d5b667037f931e (patch) | |
tree | a374b42974dbbe16ac4ad0d45edfed5d1961f356 | |
parent | 155fcd00b0ce722d06a8cd2a165ab29bb1c0d4b1 (diff) | |
download | redot-engine-bd69df1379a122df657b30b639d5b667037f931e.tar.gz |
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> |