Back to class index

Class TextureSampler

Summary

Specifies how a texture is sampled in a shader.

Member Reference

TextureSamplerSpecifies how a texture is sampled in a shader.
addressUSpecifies the texture addressing mode in the X direction. Default value == TextureAddressWrap.
addressVSpecifies the texture addressing mode in the Y direction. Default value == TextureAddressWrap.
addressWSpecifies the texture addressing mode in the Z direction. Default value == TextureAddressWrap. Supported by D3D11, but not supported by GLES2.
minFilterThe minification filter to use. Default value == TextureFilterLinear.
mipFilterThe mip filter to use. Default value == TextureFilterLinear.
magFilterThe magnification filter to use. Default value == TextureFilterLinear.
ctorThe default ctor initializes all the configurations to default values, but does not allocate a new GPU object for it.
~dtor
Create(...)Creates a sampler using the given parameters.
Deinit()Frees up all resouces associated with this texture sampler object and makes it null.
DeserializeFromXml(e)Loads this TextureSampler object from the given XML data.
Back to class index