UmbraTextureDescriptor struct

Texture usage description.

Public variables

UmbraTextureType type
Where and how should the texture be used.
UmbraFloat2 offset
UV-coordinate offset.
UmbraFloat2 tiling
UV-coordinate scaling factor.
UmbraTextureWrapMode wrapMode
Texture wrapping mode.
UmbraTextureFilterMode filterMode
Texture filter mode.
UmbraColorSpace colorSpace
Texture color space.
UmbraTextureHandle data
Handle to actual data.

Variable details

UmbraFloat2 UmbraTextureDescriptor::offset

UV-coordinate offset.

UV coordinates are calculated as final = input * tiling + offset.

UmbraFloat2 UmbraTextureDescriptor::tiling

UV-coordinate scaling factor.

UV coordinates are calculated as final = input * tiling + offset.