Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

RDSamplerState

Inherits: RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

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

false

bool

use_anisotropy

false


Property Descriptions

float anisotropy_max = 1.0

  • void set_anisotropy_max ( float value )

  • float get_anisotropy_max ( )

There is currently no description for this property. Please help us by contributing one!


SamplerBorderColor border_color = 2

There is currently no description for this property. Please help us by contributing one!


CompareOperator compare_op = 7

There is currently no description for this property. Please help us by contributing one!


bool enable_compare = false

  • void set_enable_compare ( bool value )

  • bool get_enable_compare ( )

There is currently no description for this property. Please help us by contributing one!


float lod_bias = 0.0

  • void set_lod_bias ( float value )

  • float get_lod_bias ( )

There is currently no description for this property. Please help us by contributing one!


SamplerFilter mag_filter = 0

There is currently no description for this property. Please help us by contributing one!


float max_lod = 1e+20

  • void set_max_lod ( float value )

  • float get_max_lod ( )

There is currently no description for this property. Please help us by contributing one!


SamplerFilter min_filter = 0

There is currently no description for this property. Please help us by contributing one!


float min_lod = 0.0

  • void set_min_lod ( float value )

  • float get_min_lod ( )

There is currently no description for this property. Please help us by contributing one!


SamplerFilter mip_filter = 0

There is currently no description for this property. Please help us by contributing one!


SamplerRepeatMode repeat_u = 2

There is currently no description for this property. Please help us by contributing one!


SamplerRepeatMode repeat_v = 2

There is currently no description for this property. Please help us by contributing one!


SamplerRepeatMode repeat_w = 2

There is currently no description for this property. Please help us by contributing one!


bool unnormalized_uvw = false

  • void set_unnormalized_uvw ( bool value )

  • bool get_unnormalized_uvw ( )

There is currently no description for this property. Please help us by contributing one!


bool use_anisotropy = false

  • void set_use_anisotropy ( bool value )

  • bool get_use_anisotropy ( )

There is currently no description for this property. Please help us by contributing one!