Table of Contents

Enum RenderingDevice.SamplerRepeatMode

Namespace
Godot
Assembly
GodotSharp.dll
public enum RenderingDevice.SamplerRepeatMode : long

Fields

ClampToBorder = 3

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

ClampToEdge = 2

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

Max = 5

Represents the size of the RenderingDevice.SamplerRepeatMode enum.

MirrorClampToEdge = 4

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.

MirroredRepeat = 1

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.

Repeat = 0

Sample with repeating enabled.