gpu-curtains
    Preparing search index...

    Define a MediaTexture source.

    interface MediaTextureSource {
        source: TextureSource;
        externalSource: VideoFrame;
        shouldUpdate: boolean;
        sourceLoaded: boolean;
        sourceUploaded: boolean;
    }
    Index

    Properties

    Original TextureSource to use.

    externalSource: VideoFrame

    VideoFrame to use with external textures, or null.

    shouldUpdate: boolean

    Whether we should update the GPUTexture for this source.

    sourceLoaded: boolean

    Whether the source has been loaded.

    sourceUploaded: boolean

    Whether the source has been uploaded to the GPU.