class_rdattachmentformat.rst 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 RDAttachmentFormat.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_RDAttachmentFormat:
  6. RDAttachmentFormat
  7. ==================
  8. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +------------------------------------------------------------+-------------------------------------------------------------------+--------+
  12. | :ref:`DataFormat<enum_RenderingDevice_DataFormat>` | :ref:`format<class_RDAttachmentFormat_property_format>` | ``36`` |
  13. +------------------------------------------------------------+-------------------------------------------------------------------+--------+
  14. | :ref:`TextureSamples<enum_RenderingDevice_TextureSamples>` | :ref:`samples<class_RDAttachmentFormat_property_samples>` | ``0`` |
  15. +------------------------------------------------------------+-------------------------------------------------------------------+--------+
  16. | :ref:`int<class_int>` | :ref:`usage_flags<class_RDAttachmentFormat_property_usage_flags>` | ``0`` |
  17. +------------------------------------------------------------+-------------------------------------------------------------------+--------+
  18. Property Descriptions
  19. ---------------------
  20. .. _class_RDAttachmentFormat_property_format:
  21. - :ref:`DataFormat<enum_RenderingDevice_DataFormat>` **format**
  22. +-----------+-------------------+
  23. | *Default* | ``36`` |
  24. +-----------+-------------------+
  25. | *Setter* | set_format(value) |
  26. +-----------+-------------------+
  27. | *Getter* | get_format() |
  28. +-----------+-------------------+
  29. ----
  30. .. _class_RDAttachmentFormat_property_samples:
  31. - :ref:`TextureSamples<enum_RenderingDevice_TextureSamples>` **samples**
  32. +-----------+--------------------+
  33. | *Default* | ``0`` |
  34. +-----------+--------------------+
  35. | *Setter* | set_samples(value) |
  36. +-----------+--------------------+
  37. | *Getter* | get_samples() |
  38. +-----------+--------------------+
  39. ----
  40. .. _class_RDAttachmentFormat_property_usage_flags:
  41. - :ref:`int<class_int>` **usage_flags**
  42. +-----------+------------------------+
  43. | *Default* | ``0`` |
  44. +-----------+------------------------+
  45. | *Setter* | set_usage_flags(value) |
  46. +-----------+------------------------+
  47. | *Getter* | get_usage_flags() |
  48. +-----------+------------------------+
  49. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  50. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  51. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  52. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  53. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  54. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`