class_rdshaderfile.rst 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. Properties
  11. ----------
  12. +-----------------------------+-----------------------------------------------------------+--------+
  13. | :ref:`String<class_String>` | :ref:`base_error<class_RDShaderFile_property_base_error>` | ``""`` |
  14. +-----------------------------+-----------------------------------------------------------+--------+
  15. Methods
  16. -------
  17. +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  18. | :ref:`RDShaderSPIRV<class_RDShaderSPIRV>` | :ref:`get_spirv<class_RDShaderFile_method_get_spirv>` **(** :ref:`StringName<class_StringName>` version=&"" **)** |const| |
  19. +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  20. | :ref:`PackedStringArray<class_PackedStringArray>` | :ref:`get_version_list<class_RDShaderFile_method_get_version_list>` **(** **)** |const| |
  21. +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  22. | void | :ref:`set_bytecode<class_RDShaderFile_method_set_bytecode>` **(** :ref:`RDShaderSPIRV<class_RDShaderSPIRV>` bytecode, :ref:`StringName<class_StringName>` version=&"" **)** |
  23. +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  24. Property Descriptions
  25. ---------------------
  26. .. _class_RDShaderFile_property_base_error:
  27. - :ref:`String<class_String>` **base_error**
  28. +-----------+-----------------------+
  29. | *Default* | ``""`` |
  30. +-----------+-----------------------+
  31. | *Setter* | set_base_error(value) |
  32. +-----------+-----------------------+
  33. | *Getter* | get_base_error() |
  34. +-----------+-----------------------+
  35. Method Descriptions
  36. -------------------
  37. .. _class_RDShaderFile_method_get_spirv:
  38. - :ref:`RDShaderSPIRV<class_RDShaderSPIRV>` **get_spirv** **(** :ref:`StringName<class_StringName>` version=&"" **)** |const|
  39. ----
  40. .. _class_RDShaderFile_method_get_version_list:
  41. - :ref:`PackedStringArray<class_PackedStringArray>` **get_version_list** **(** **)** |const|
  42. ----
  43. .. _class_RDShaderFile_method_set_bytecode:
  44. - void **set_bytecode** **(** :ref:`RDShaderSPIRV<class_RDShaderSPIRV>` bytecode, :ref:`StringName<class_StringName>` version=&"" **)**
  45. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  46. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  47. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  48. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  49. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  50. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`