gpu-curtains
    Preparing search index...

    Interface ShaderTextureDescriptor

    Define a ShaderTextureDescriptor used to associate a Texture with the corresponding Sampler and UV names.

    interface ShaderTextureDescriptor {
        texture: MediaTexture | Texture;
        sampler?: Sampler;
        texCoordAttributeName?: string;
    }
    Index

    Properties

    Texture or MediaTexture to use.

    sampler?: Sampler

    Sampler to use. Fallback to default sampler if not provided.

    texCoordAttributeName?: string

    Texture coordinate attribute name to use to map this texture. Default to 'uv'.