From 5579edb1377e56a7bc9de78d65cce32c0457f4eb Mon Sep 17 00:00:00 2001 From: DevPoodle Date: Sun, 17 Dec 2023 13:12:33 -0800 Subject: [PATCH] Add descriptions to remaining properties of RDSamplerState --- doc/classes/RDSamplerState.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/classes/RDSamplerState.xml b/doc/classes/RDSamplerState.xml index 44f040dabd4..f1ba6302261 100644 --- a/doc/classes/RDSamplerState.xml +++ b/doc/classes/RDSamplerState.xml @@ -26,12 +26,13 @@ The mipmap LOD bias to use. Positive values will make the sampler blurrier at a given distance, while negative values will make the sampler sharper at a given distance (at the risk of looking grainy). Recommended values are between [code]-0.5[/code] and [code]0.0[/code]. Only effective if the sampler has mipmaps available. - The sampler's magnification filter. + The sampler's magnification filter. It is the filtering method used when sampling texels that appear bigger than on-screen pixels. The maximum mipmap LOD bias to display (lowest resolution). Only effective if the sampler has mipmaps available. + The sampler's minification filter. It is the filtering method used when sampling texels that appear smaller than on-screen pixels. The minimum mipmap LOD bias to display (highest resolution). Only effective if the sampler has mipmaps available. @@ -49,6 +50,7 @@ The repeat mode to use along the W axis of UV coordinates. This affects the returned values if sampling outside the UV bounds. Only effective for 3D samplers. + If [code]true[/code], the texture will be sampled with coordinates ranging from 0 to the texture's resolution. Otherwise, the coordinates will be normalized and range from 0 to 1. If [code]true[/code], perform anisotropic sampling. See [member anisotropy_max].