@lightningjs/renderer
    Preparing search index...

    Interface TextureData

    TextureData that is used to populate a CoreContextTexture

    interface TextureData {
        data:
            | null
            | Uint8Array<ArrayBufferLike>
            | ImageBitmap
            | HTMLImageElement
            | ImageData
            | CompressedData
            | SubTextureProps;
        premultiplyAlpha?: null | boolean;
    }
    Index

    Properties

    data:
        | null
        | Uint8Array<ArrayBufferLike>
        | ImageBitmap
        | HTMLImageElement
        | ImageData
        | CompressedData
        | SubTextureProps

    The texture data

    premultiplyAlpha?: null | boolean

    Premultiply alpha when uploading texture data to the GPU

    false