Table of Contents

Enum RenderingServer.CanvasItemTextureRepeat

Namespace
Godot
Assembly
GodotSharp.dll
public enum RenderingServer.CanvasItemTextureRepeat : long

Fields

Default = 0

Uses the default repeat mode for this Viewport.

Disabled = 1

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.

Enabled = 2

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.

Max = 4

Max value for RenderingServer.CanvasItemTextureRepeat enum.

Mirror = 3

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