API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

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: boolean
Whether 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: boolean
Whether to generate a full mipmap chain after upload.
premultiplyAlpha: boolean
Whether pixel values are premultiplied by their alpha before uploading to the GPU.
Source