Module texture

Source
Expand description

Contains Texture, Sampler, and other related data structures.

Structs§

Info
Reference to a Texture.
Sampler
Texture sampler properties for filtering and wrapping modes.
Texture
A texture and its sampler.

Enums§

MagFilter
Magnification filter.
MinFilter
Minification filter.
WrappingMode
Texture co-ordinate wrapping mode.

Constants§

CLAMP_TO_EDGE
Corresponds to GL_CLAMP_TO_EDGE.
LINEAR
Corresponds to GL_LINEAR.
LINEAR_MIPMAP_LINEAR
Corresponds to GL_LINEAR_MIPMAP_LINEAR.
LINEAR_MIPMAP_NEAREST
Corresponds to GL_LINEAR_MIPMAP_NEAREST.
MIRRORED_REPEAT
Corresponds to GL_MIRRORED_REPEAT.
NEAREST
Corresponds to GL_NEAREST.
NEAREST_MIPMAP_LINEAR
Corresponds to GL_NEAREST_MIPMAP_LINEAR.
NEAREST_MIPMAP_NEAREST
Corresponds to GL_NEAREST_MIPMAP_NEAREST.
REPEAT
Corresponds to GL_REPEAT.
VALID_MAG_FILTERS
All valid magnification filters.
VALID_MIN_FILTERS
All valid minification filters.
VALID_WRAPPING_MODES
All valid wrapping modes.