GLTFTextureSampler.xml 1.4 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="GLTFTextureSampler" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
  3. <brief_description>
  4. Represents a glTF texture sampler
  5. </brief_description>
  6. <description>
  7. Represents a texture sampler as defined by the base glTF spec. Texture samplers in glTF specify how to sample data from the texture's base image, when rendering the texture on an object.
  8. </description>
  9. <tutorials>
  10. <link title="Runtime file loading and saving">$DOCS_URL/tutorials/io/runtime_file_loading_and_saving.html</link>
  11. </tutorials>
  12. <members>
  13. <member name="mag_filter" type="int" setter="set_mag_filter" getter="get_mag_filter" default="9729">
  14. Texture's magnification filter, used when texture appears larger on screen than the source image.
  15. </member>
  16. <member name="min_filter" type="int" setter="set_min_filter" getter="get_min_filter" default="9987">
  17. Texture's minification filter, used when the texture appears smaller on screen than the source image.
  18. </member>
  19. <member name="wrap_s" type="int" setter="set_wrap_s" getter="get_wrap_s" default="10497">
  20. Wrapping mode to use for S-axis (horizontal) texture coordinates.
  21. </member>
  22. <member name="wrap_t" type="int" setter="set_wrap_t" getter="get_wrap_t" default="10497">
  23. Wrapping mode to use for T-axis (vertical) texture coordinates.
  24. </member>
  25. </members>
  26. </class>