Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

RDSamplerState

Inherits: RefCounted < Object

Sampler state (used by RenderingDevice).

Description

This object is used by RenderingDevice.

Properties

float

anisotropy_max

1.0

SamplerBorderColor

border_color

2

CompareOperator

compare_op

7

bool

enable_compare

false

float

lod_bias

0.0

SamplerFilter

mag_filter

0

float

max_lod

1e+20

SamplerFilter

min_filter

0

float

min_lod

0.0

SamplerFilter

mip_filter

0

SamplerRepeatMode

repeat_u

2

SamplerRepeatMode

repeat_v

2

SamplerRepeatMode

repeat_w

2

bool

unnormalized_uvw