API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTextureUploadOptions
@codexo/exojs / rendering / stable
How a texture's source content is interpreted on its way to the GPU. Unlike SamplerOptions, these belong to the texture itself: they decide what ends up in GPU memory, so changing one requires a re-upload rather than a different sampler.
3
props
0
methods
0
events
Import
import { TextureUploadOptions } from '@codexo/exojs'How a texture's source content is interpreted on its way to the GPU.
Unlike SamplerOptions, these belong to the texture itself: they decide what ends up in GPU memory, so changing one requires a re-upload rather than a different sampler.
Properties3
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.
Source