class_rduniform.rst 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the RDUniform.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_RDUniform:
  6. RDUniform
  7. =========
  8. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +------------------------------------------------------+------------------------------------------------------------+-------+
  12. | :ref:`int<class_int>` | :ref:`binding<class_RDUniform_property_binding>` | ``0`` |
  13. +------------------------------------------------------+------------------------------------------------------------+-------+
  14. | :ref:`UniformType<enum_RenderingDevice_UniformType>` | :ref:`uniform_type<class_RDUniform_property_uniform_type>` | ``3`` |
  15. +------------------------------------------------------+------------------------------------------------------------+-------+
  16. Methods
  17. -------
  18. +---------------------------+-----------------------------------------------------------------------------------+
  19. | void | :ref:`add_id<class_RDUniform_method_add_id>` **(** :ref:`RID<class_RID>` id **)** |
  20. +---------------------------+-----------------------------------------------------------------------------------+
  21. | void | :ref:`clear_ids<class_RDUniform_method_clear_ids>` **(** **)** |
  22. +---------------------------+-----------------------------------------------------------------------------------+
  23. | :ref:`Array<class_Array>` | :ref:`get_ids<class_RDUniform_method_get_ids>` **(** **)** |const| |
  24. +---------------------------+-----------------------------------------------------------------------------------+
  25. Property Descriptions
  26. ---------------------
  27. .. _class_RDUniform_property_binding:
  28. - :ref:`int<class_int>` **binding**
  29. +-----------+--------------------+
  30. | *Default* | ``0`` |
  31. +-----------+--------------------+
  32. | *Setter* | set_binding(value) |
  33. +-----------+--------------------+
  34. | *Getter* | get_binding() |
  35. +-----------+--------------------+
  36. ----
  37. .. _class_RDUniform_property_uniform_type:
  38. - :ref:`UniformType<enum_RenderingDevice_UniformType>` **uniform_type**
  39. +-----------+-------------------------+
  40. | *Default* | ``3`` |
  41. +-----------+-------------------------+
  42. | *Setter* | set_uniform_type(value) |
  43. +-----------+-------------------------+
  44. | *Getter* | get_uniform_type() |
  45. +-----------+-------------------------+
  46. Method Descriptions
  47. -------------------
  48. .. _class_RDUniform_method_add_id:
  49. - void **add_id** **(** :ref:`RID<class_RID>` id **)**
  50. ----
  51. .. _class_RDUniform_method_clear_ids:
  52. - void **clear_ids** **(** **)**
  53. ----
  54. .. _class_RDUniform_method_get_ids:
  55. - :ref:`Array<class_Array>` **get_ids** **(** **)** |const|
  56. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  57. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  58. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  59. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  60. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  61. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`