class_rdshaderfile.rst 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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/RDShaderFile.xml.
  6. .. _class_RDShaderFile:
  7. RDShaderFile
  8. ============
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. .. container:: contribute
  11. There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  12. .. rst-class:: classref-reftable-group
  13. Properties
  14. ----------
  15. .. table::
  16. :widths: auto
  17. +-----------------------------+-----------------------------------------------------------+--------+
  18. | :ref:`String<class_String>` | :ref:`base_error<class_RDShaderFile_property_base_error>` | ``""`` |
  19. +-----------------------------+-----------------------------------------------------------+--------+
  20. .. rst-class:: classref-reftable-group
  21. Methods
  22. -------
  23. .. table::
  24. :widths: auto
  25. +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  26. | :ref:`RDShaderSPIRV<class_RDShaderSPIRV>` | :ref:`get_spirv<class_RDShaderFile_method_get_spirv>` **(** :ref:`StringName<class_StringName>` version=&"" **)** |const| |
  27. +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  28. | :ref:`PackedStringArray<class_PackedStringArray>` | :ref:`get_version_list<class_RDShaderFile_method_get_version_list>` **(** **)** |const| |
  29. +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  30. | void | :ref:`set_bytecode<class_RDShaderFile_method_set_bytecode>` **(** :ref:`RDShaderSPIRV<class_RDShaderSPIRV>` bytecode, :ref:`StringName<class_StringName>` version=&"" **)** |
  31. +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  32. .. rst-class:: classref-section-separator
  33. ----
  34. .. rst-class:: classref-descriptions-group
  35. Property Descriptions
  36. ---------------------
  37. .. _class_RDShaderFile_property_base_error:
  38. .. rst-class:: classref-property
  39. :ref:`String<class_String>` **base_error** = ``""``
  40. .. rst-class:: classref-property-setget
  41. - void **set_base_error** **(** :ref:`String<class_String>` value **)**
  42. - :ref:`String<class_String>` **get_base_error** **(** **)**
  43. .. container:: contribute
  44. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  45. .. rst-class:: classref-section-separator
  46. ----
  47. .. rst-class:: classref-descriptions-group
  48. Method Descriptions
  49. -------------------
  50. .. _class_RDShaderFile_method_get_spirv:
  51. .. rst-class:: classref-method
  52. :ref:`RDShaderSPIRV<class_RDShaderSPIRV>` **get_spirv** **(** :ref:`StringName<class_StringName>` version=&"" **)** |const|
  53. .. container:: contribute
  54. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  55. .. rst-class:: classref-item-separator
  56. ----
  57. .. _class_RDShaderFile_method_get_version_list:
  58. .. rst-class:: classref-method
  59. :ref:`PackedStringArray<class_PackedStringArray>` **get_version_list** **(** **)** |const|
  60. .. container:: contribute
  61. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  62. .. rst-class:: classref-item-separator
  63. ----
  64. .. _class_RDShaderFile_method_set_bytecode:
  65. .. rst-class:: classref-method
  66. void **set_bytecode** **(** :ref:`RDShaderSPIRV<class_RDShaderSPIRV>` bytecode, :ref:`StringName<class_StringName>` version=&"" **)**
  67. .. container:: contribute
  68. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  69. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  70. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  71. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  72. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  73. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  74. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`