Lens Scripting API

    Class SamplerWrapper

    An accessor for Pass.samplers when using PassWrappers

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    filtering: FilteringMode

    How the texture will be filtered by the sampler.

    texture: Texture

    The texture used by the sampler.

    wrap: WrapMode

    Whether the texture should wrap.

    wrapU: WrapMode

    Whether the texture should wrap in the x-axis.

    wrapV: WrapMode

    Whether the texture should wrap in the y-axis.

    wrapW: WrapMode

    Whether the texture should wrap in the z-axis.

    Methods

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

      Parameters

      • type: string

      Returns boolean

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

      Parameters

      Returns boolean

    MMNEPVFCICPMFPCPTTAAATR