API

Interface ITextureProcessorOutputOptions

Controls the GPU texture created by a texture processing operation.

interface ITextureProcessorOutputOptions {
    generateMipMaps?: boolean;
    samplingMode?: number;
    textureType?: number;
}
Index
generateMipMaps?: boolean

Whether mipmaps are generated for the output texture. Defaults to false.

samplingMode?: number

Sampling mode used by the output texture. Defaults to Constants.TEXTURE_BILINEAR_SAMPLINGMODE.

textureType?: number

Texture type used by the render target. Defaults to Constants.TEXTURETYPE_UNSIGNED_BYTE.