API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTextureAssetOptions
@codexo/exojs / assets / stable
Options accepted by an asset of the built-in `texture` type.
2
props
0
methods
0
events
Import
import { TextureAssetOptions } from '@codexo/exojs'Options accepted by an asset of the built-in `texture` type.
Properties2
mimeType?: stringMIME type for the intermediate blob. Inferred from the magic bytes when omitted. Ignored for a KTX2 payload.
textureOptions?: Partial<TextureOptionsFull construction options of a texture: sampling state plus upload state.>Sampling and upload state forwarded to the Texture constructor; any subset. A KTX2 payload in a hardware format takes the sampling half only - premultiplication and mip generation cannot apply to compressed blocks.
Source