API

Interface ArrayLayerUploadOptions

Per-layer upload options for uploadImageToArrayLayer() / loadImageToArrayLayer().

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

Hierarchy (View Summary)

Index
invertY?: boolean

Flip Y during upload. Default true (matches Babylon.js convention).

premultiplyAlpha?: boolean

Treat the destination as premultiplied-alpha. Default false (straight RGBA).