Interface ExternalTextureParamsBase

Base parameters used to copy an external image to a texture, i.e. that will be uploaded to the GPU using GPUQueue#copyExternalImageToTexture | copyExternalImageToTexture

interface ExternalTextureParamsBase {
    generateMips?: boolean;
    flipY?: boolean;
    premultipliedAlpha?: boolean;
}

Hierarchy (view full)

Properties

generateMips?: boolean

Whether to generate mips. Default to false.

flipY?: boolean

Whether to flip the source along the Y axis. Default to false.

premultipliedAlpha?: boolean

Whether this texture should be premultiplied or not. Default to false.