Description

An accessor for Pass.samplers when using PassWrappers

interface SamplerWrapper {
    filtering: FilteringMode;
    texture: Texture;
    wrap: WrapMode;
    wrapU: WrapMode;
    wrapV: WrapMode;
    wrapW: WrapMode;
    getTypeName(): string;
    isOfType(type): boolean;
    isSame(other): boolean;
}

Hierarchy (view full)

Properties

filtering: FilteringMode

Description

How the texture will be filtered by the sampler.

texture: Texture

Description

The texture used by the sampler.

wrap: WrapMode

Description

Whether the texture should wrap.

wrapU: WrapMode

Description

Whether the texture should wrap in the x-axis.

wrapV: WrapMode

Description

Whether the texture should wrap in the y-axis.

wrapW: WrapMode

Description

Whether the texture should wrap in the z-axis.

Methods

  • Returns string

    Description

    Returns the name of this object's type.

  • Parameters

    • type: string

    Returns boolean

    Description

    Returns true if the object matches or derives from the passed in type.

  • Parameters

    Returns boolean

    Description

    Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

Generated using TypeDoc