class_cubemap.rst 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_CubeMap:
  4. CubeMap
  5. =======
  6. **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`int<class_int>` | :ref:`get_flags<class_CubeMap_get_flags>` **(** **)** const |
  14. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`int<class_int>` | :ref:`get_height<class_CubeMap_get_height>` **(** **)** const |
  16. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`float<class_float>` | :ref:`get_lossy_storage_quality<class_CubeMap_get_lossy_storage_quality>` **(** **)** const |
  18. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`RID<class_rid>` | :ref:`get_rid<class_CubeMap_get_rid>` **(** **)** const |
  20. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`Image<class_image>` | :ref:`get_side<class_CubeMap_get_side>` **(** :ref:`int<class_int>` side **)** const |
  22. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`int<class_int>` | :ref:`get_storage<class_CubeMap_get_storage>` **(** **)** const |
  24. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  25. | :ref:`int<class_int>` | :ref:`get_width<class_CubeMap_get_width>` **(** **)** const |
  26. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  27. | void | :ref:`set_flags<class_CubeMap_set_flags>` **(** :ref:`int<class_int>` flags **)** |
  28. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  29. | void | :ref:`set_lossy_storage_quality<class_CubeMap_set_lossy_storage_quality>` **(** :ref:`float<class_float>` quality **)** |
  30. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  31. | void | :ref:`set_side<class_CubeMap_set_side>` **(** :ref:`int<class_int>` side, :ref:`Image<class_image>` image **)** |
  32. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  33. | void | :ref:`set_storage<class_CubeMap_set_storage>` **(** :ref:`int<class_int>` mode **)** |
  34. +----------------------------+---------------------------------------------------------------------------------------------------------------------------+
  35. Numeric Constants
  36. -----------------
  37. - **STORAGE_RAW** = **0**
  38. - **STORAGE_COMPRESS_LOSSY** = **1**
  39. - **STORAGE_COMPRESS_LOSSLESS** = **2**
  40. - **SIDE_LEFT** = **0**
  41. - **SIDE_RIGHT** = **1**
  42. - **SIDE_BOTTOM** = **2**
  43. - **SIDE_TOP** = **3**
  44. - **SIDE_FRONT** = **4**
  45. - **SIDE_BACK** = **5**
  46. - **FLAG_MIPMAPS** = **1**
  47. - **FLAG_REPEAT** = **2**
  48. - **FLAG_FILTER** = **4**
  49. - **FLAGS_DEFAULT** = **7**
  50. Member Function Description
  51. ---------------------------
  52. .. _class_CubeMap_get_flags:
  53. - :ref:`int<class_int>` **get_flags** **(** **)** const
  54. .. _class_CubeMap_get_height:
  55. - :ref:`int<class_int>` **get_height** **(** **)** const
  56. .. _class_CubeMap_get_lossy_storage_quality:
  57. - :ref:`float<class_float>` **get_lossy_storage_quality** **(** **)** const
  58. .. _class_CubeMap_get_rid:
  59. - :ref:`RID<class_rid>` **get_rid** **(** **)** const
  60. .. _class_CubeMap_get_side:
  61. - :ref:`Image<class_image>` **get_side** **(** :ref:`int<class_int>` side **)** const
  62. .. _class_CubeMap_get_storage:
  63. - :ref:`int<class_int>` **get_storage** **(** **)** const
  64. .. _class_CubeMap_get_width:
  65. - :ref:`int<class_int>` **get_width** **(** **)** const
  66. .. _class_CubeMap_set_flags:
  67. - void **set_flags** **(** :ref:`int<class_int>` flags **)**
  68. .. _class_CubeMap_set_lossy_storage_quality:
  69. - void **set_lossy_storage_quality** **(** :ref:`float<class_float>` quality **)**
  70. .. _class_CubeMap_set_side:
  71. - void **set_side** **(** :ref:`int<class_int>` side, :ref:`Image<class_image>` image **)**
  72. .. _class_CubeMap_set_storage:
  73. - void **set_storage** **(** :ref:`int<class_int>` mode **)**