Creates a new Transform property for use on a TextureInfo.
Disables and removes the extension from the Document.
Indicates to the client whether it is OK to load the asset when this extension is not recognized. Optional extensions are generally preferred, if there is not a good reason to require a client to completely fail when an extension isn't known.
Indicates to the client whether it is OK to load the asset when this extension is not recognized. Optional extensions are generally preferred, if there is not a good reason to require a client to completely fail when an extension isn't known.
Made by Don McCurdy • TypeDoc documentation • Copyright 2021 under MIT license
TextureTransform
KHR_texture_transform
adds offset, rotation, and scale to TextureInfo properties.Affine UV transforms are useful for reducing the number of textures the GPU must load, improving performance when used in techniques like texture atlases. UV transforms cannot be animated at this time.
Properties:
Example
The
TextureTransform
class provides a single ExtensionProperty type,Transform
, which may be attached to any TextureInfo instance. For example: