CanvasItemTextureRepeat

    RenderingServer.swift:1832
    enum CanvasItemTextureRepeat

    Cases

    • case `default`

      Uses the default repeat mode for this Viewport.

    • case disabled

      Disables textures repeating. Instead, when reading UVs outside the 0-1 range, the value will be clamped to the edge of the texture, resulting in a stretched out look at the borders of the texture.

    • case enabled

      Enables the texture to repeat when UV coordinates are outside the 0-1 range. If using one of the linear filtering modes, this can result in artifacts at the edges of a texture when the sampler filters across the edges of the texture.

    • case mirror

      Flip the texture when repeating so that the edge lines up instead of abruptly changing.

    • case max

      Max value for CanvasItemTextureRepeat enum.

    Other members in extension

    View members

    Hide members

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

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features