class_rdvertexattribute.rst 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/RDVertexAttribute.xml.
  6. .. _class_RDVertexAttribute:
  7. RDVertexAttribute
  8. =================
  9. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Properties
  11. ----------
  12. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  13. | :ref:`DataFormat<enum_RenderingDevice_DataFormat>` | :ref:`format<class_RDVertexAttribute_property_format>` | ``218`` |
  14. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  15. | :ref:`VertexFrequency<enum_RenderingDevice_VertexFrequency>` | :ref:`frequency<class_RDVertexAttribute_property_frequency>` | ``0`` |
  16. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  17. | :ref:`int<class_int>` | :ref:`location<class_RDVertexAttribute_property_location>` | ``0`` |
  18. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  19. | :ref:`int<class_int>` | :ref:`offset<class_RDVertexAttribute_property_offset>` | ``0`` |
  20. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  21. | :ref:`int<class_int>` | :ref:`stride<class_RDVertexAttribute_property_stride>` | ``0`` |
  22. +--------------------------------------------------------------+--------------------------------------------------------------+---------+
  23. Property Descriptions
  24. ---------------------
  25. .. _class_RDVertexAttribute_property_format:
  26. - :ref:`DataFormat<enum_RenderingDevice_DataFormat>` **format**
  27. +-----------+-------------------+
  28. | *Default* | ``218`` |
  29. +-----------+-------------------+
  30. | *Setter* | set_format(value) |
  31. +-----------+-------------------+
  32. | *Getter* | get_format() |
  33. +-----------+-------------------+
  34. ----
  35. .. _class_RDVertexAttribute_property_frequency:
  36. - :ref:`VertexFrequency<enum_RenderingDevice_VertexFrequency>` **frequency**
  37. +-----------+----------------------+
  38. | *Default* | ``0`` |
  39. +-----------+----------------------+
  40. | *Setter* | set_frequency(value) |
  41. +-----------+----------------------+
  42. | *Getter* | get_frequency() |
  43. +-----------+----------------------+
  44. ----
  45. .. _class_RDVertexAttribute_property_location:
  46. - :ref:`int<class_int>` **location**
  47. +-----------+---------------------+
  48. | *Default* | ``0`` |
  49. +-----------+---------------------+
  50. | *Setter* | set_location(value) |
  51. +-----------+---------------------+
  52. | *Getter* | get_location() |
  53. +-----------+---------------------+
  54. ----
  55. .. _class_RDVertexAttribute_property_offset:
  56. - :ref:`int<class_int>` **offset**
  57. +-----------+-------------------+
  58. | *Default* | ``0`` |
  59. +-----------+-------------------+
  60. | *Setter* | set_offset(value) |
  61. +-----------+-------------------+
  62. | *Getter* | get_offset() |
  63. +-----------+-------------------+
  64. ----
  65. .. _class_RDVertexAttribute_property_stride:
  66. - :ref:`int<class_int>` **stride**
  67. +-----------+-------------------+
  68. | *Default* | ``0`` |
  69. +-----------+-------------------+
  70. | *Setter* | set_stride(value) |
  71. +-----------+-------------------+
  72. | *Getter* | get_stride() |
  73. +-----------+-------------------+
  74. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  75. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  76. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  77. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  78. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  79. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`