class_rdvertexattribute.rst 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/4.2/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.2/doc/classes/RDVertexAttribute.xml.
  6. .. _class_RDVertexAttribute:
  7. RDVertexAttribute
  8. =================
  9. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Vertex attribute (used by :ref:`RenderingDevice<class_RenderingDevice>`).
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. This object is used by :ref:`RenderingDevice<class_RenderingDevice>`.
  15. .. rst-class:: classref-reftable-group
  16. Properties
  17. ----------
  18. .. table::
  19. :widths: auto
  20. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  21. | :ref:`DataFormat<enum_RenderingDevice_DataFormat>` | :ref:`format<class_RDVertexAttribute_property_format>` | ``218`` |
  22. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  23. | :ref:`VertexFrequency<enum_RenderingDevice_VertexFrequency>` | :ref:`frequency<class_RDVertexAttribute_property_frequency>` | ``0`` |
  24. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  25. | :ref:`int<class_int>` | :ref:`location<class_RDVertexAttribute_property_location>` | ``0`` |
  26. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  27. | :ref:`int<class_int>` | :ref:`offset<class_RDVertexAttribute_property_offset>` | ``0`` |
  28. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  29. | :ref:`int<class_int>` | :ref:`stride<class_RDVertexAttribute_property_stride>` | ``0`` |
  30. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  31. .. rst-class:: classref-section-separator
  32. ----
  33. .. rst-class:: classref-descriptions-group
  34. Property Descriptions
  35. ---------------------
  36. .. _class_RDVertexAttribute_property_format:
  37. .. rst-class:: classref-property
  38. :ref:`DataFormat<enum_RenderingDevice_DataFormat>` **format** = ``218``
  39. .. rst-class:: classref-property-setget
  40. - void **set_format** **(** :ref:`DataFormat<enum_RenderingDevice_DataFormat>` value **)**
  41. - :ref:`DataFormat<enum_RenderingDevice_DataFormat>` **get_format** **(** **)**
  42. .. container:: contribute
  43. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  44. .. rst-class:: classref-item-separator
  45. ----
  46. .. _class_RDVertexAttribute_property_frequency:
  47. .. rst-class:: classref-property
  48. :ref:`VertexFrequency<enum_RenderingDevice_VertexFrequency>` **frequency** = ``0``
  49. .. rst-class:: classref-property-setget
  50. - void **set_frequency** **(** :ref:`VertexFrequency<enum_RenderingDevice_VertexFrequency>` value **)**
  51. - :ref:`VertexFrequency<enum_RenderingDevice_VertexFrequency>` **get_frequency** **(** **)**
  52. .. container:: contribute
  53. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  54. .. rst-class:: classref-item-separator
  55. ----
  56. .. _class_RDVertexAttribute_property_location:
  57. .. rst-class:: classref-property
  58. :ref:`int<class_int>` **location** = ``0``
  59. .. rst-class:: classref-property-setget
  60. - void **set_location** **(** :ref:`int<class_int>` value **)**
  61. - :ref:`int<class_int>` **get_location** **(** **)**
  62. .. container:: contribute
  63. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  64. .. rst-class:: classref-item-separator
  65. ----
  66. .. _class_RDVertexAttribute_property_offset:
  67. .. rst-class:: classref-property
  68. :ref:`int<class_int>` **offset** = ``0``
  69. .. rst-class:: classref-property-setget
  70. - void **set_offset** **(** :ref:`int<class_int>` value **)**
  71. - :ref:`int<class_int>` **get_offset** **(** **)**
  72. .. container:: contribute
  73. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  74. .. rst-class:: classref-item-separator
  75. ----
  76. .. _class_RDVertexAttribute_property_stride:
  77. .. rst-class:: classref-property
  78. :ref:`int<class_int>` **stride** = ``0``
  79. .. rst-class:: classref-property-setget
  80. - void **set_stride** **(** :ref:`int<class_int>` value **)**
  81. - :ref:`int<class_int>` **get_stride** **(** **)**
  82. .. container:: contribute
  83. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  84. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  85. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  86. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  87. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  88. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  89. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  90. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`