rhodonite
    Preparing search index...

    Type Alias SamplerDescriptor

    Descriptor object for configuring a texture sampler.

    type SamplerDescriptor = {
        anisotropy?: boolean;
        magFilter: TextureParameterEnum;
        minFilter: TextureParameterEnum;
        shadowCompareMode?: boolean;
        wrapR?: TextureParameterEnum;
        wrapS: TextureParameterEnum;
        wrapT: TextureParameterEnum;
    }
    Index

    Properties

    anisotropy?: boolean

    Whether to enable anisotropic filtering (optional)

    Magnification filter mode for texture sampling

    Minification filter mode for texture sampling

    shadowCompareMode?: boolean

    Whether to enable shadow comparison mode (optional)

    Texture wrapping mode for R coordinate (optional)

    Texture wrapping mode for S coordinate

    Texture wrapping mode for T coordinate