API

Interface IUploadImageToTexture2DArrayLayerOptions

Options controlling how an image source is uploaded into a 2D array texture layer.

interface IUploadImageToTexture2DArrayLayerOptions {
    invertY?: boolean;
    premultiplyAlpha?: boolean;
}

Hierarchy (View Summary)

Index
invertY?: boolean

Defines if the source must be stored with the Y axis inverted (false by default)

premultiplyAlpha?: boolean

Defines if the source alpha must be premultiplied (false by default)