Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
Inherits: Resource < RefCounted < Object
Represents a GLTF texture sampler
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.
int mag_filter =
Texture's magnification filter, used when texture appears larger on screen than the source image.
int min_filter =
Texture's minification filter, used when the texture appears smaller on screen than the source image.
int wrap_s =
Wrapping mode to use for S-axis (horizontal) texture coordinates.
int wrap_t =
Wrapping mode to use for T-axis (vertical) texture coordinates.