API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTextureOptions
@codexo/exojs / rendering / stable
Full construction options of a texture: sampling state plus upload state.
5
props
0
methods
0
events
Import
import { TextureOptions } from '@codexo/exojs'Full construction options of a texture: sampling state plus upload state.
Properties5
flipY: booleanWhether the source content is stored bottom-up. Resolved when UVs are packed rather than by flipping pixels at upload time, so it costs nothing per frame but does invalidate geometry recorded against the old value.
generateMipMap: booleanWhether to generate a full mipmap chain after upload.
premultiplyAlpha: booleanWhether pixel values are premultiplied by their alpha before uploading to the GPU.
Minification and magnification filter applied when sampling the texture.
Behaviour when UV coordinates exceed [0, 1].
Source