SamplerRepeatMode

    RenderingDevice.swift:987
    enum SamplerRepeatMode

    Cases

    • case `repeat`

      Sample with repeating enabled.

    • case mirroredRepeat

      Sample with mirrored repeating enabled. When sampling outside the [0.0, 1.0] range, return a mirrored version of the sampler. This mirrored version is mirrored again if sampling further away, with the pattern repeating indefinitely.

    • case clampToEdge

      Sample with repeating disabled. When sampling outside the [0.0, 1.0] range, return the color of the last pixel on the edge.

    • case clampToBorder

      Sample with repeating disabled. When sampling outside the [0.0, 1.0] range, return the specified borderColor.

    • case mirrorClampToEdge

      Sample with mirrored repeating enabled, but only once. When sampling in the [-1.0, 0.0] range, return a mirrored version of the sampler. When sampling outside the [-1.0, 1.0] range, return the color of the last pixel on the edge.

    • case max

      Represents the size of the SamplerRepeatMode enum.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (130) members.

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features