Interface ITextureCreationOptions
Hierarchy
- ITextureCreationOptions
Index
Properties
Optional bufferSearch playground for buffer
Defines the buffer to load the texture from in case the texture is loaded from a buffer representation (default: null)
Optional creation FlagsSearch playground for creationFlags
Specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg) (default: undefined)
Optional delete BufferSearch playground for deleteBuffer
Defines if the buffer we are loading the texture from should be deleted after load (default: false)
Optional formatSearch playground for format
Defines the format of the texture we are trying to load (Engine.TEXTUREFORMAT_RGBA...) (default: )
Optional internal TextureSearch playground for internalTexture
Defines the underlying texture from an already existing one
Optional invertYSearch playground for invertY
Defines if the texture needs to be inverted on the y axis during loading (default: true)
Optional loader OptionsSearch playground for loaderOptions
Options to be passed to the loader (default: undefined)
Optional mime TypeSearch playground for mimeType
Defines an optional mime type information (default: undefined)
Optional no MipmapSearch playground for noMipmap
Defines if the texture will require mip maps or not (default: false)
Optional on ErrorSearch playground for onError
Defines a callback triggered when an error occurred during the loading session (default: null)
Optional on LoadSearch playground for onLoad
Defines a callback triggered when the texture has been loaded (default: null)
Optional sampling ModeSearch playground for samplingMode
Defines the sampling mode we want for the texture while fetching from it (Texture.NEAREST_SAMPLINGMODE...) (default: Texture.TRILINEAR_SAMPLINGMODE)
Optional useSRGBBufferSearch playground for useSRGBBuffer
Defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU) (default: false)
Defines the available options when creating a texture