ReShade
A generic post-processing injector for games and video software.
|
Describes a sampler state. More...
#include <reshade_api_resource.hpp>
Public Attributes | |
filter_mode | filter |
Filtering mode to use when sampling a texture. More... | |
texture_address_mode | address_u |
Method to use for resolving U texture coordinates outside 0 to 1 range. More... | |
texture_address_mode | address_v |
Method to use for resolving V texture coordinates outside 0 to 1 range. More... | |
texture_address_mode | address_w |
Method to use for resolving W texture coordinates outside 0 to 1 range. More... | |
float | mip_lod_bias |
Offset applied to the calculated mipmap level when sampling a texture. More... | |
float | max_anisotropy |
Clamping value to use when filtering mode is filter_mode::anisotropic. More... | |
compare_op | compare_op |
Comparison function to use to compare sampled data against existing sampled data. More... | |
float | border_color [4] |
RGBA value to return for texture coordinates outside 0 to 1 range when addressing mode is texture_address_mode::border. More... | |
float | min_lod |
Lower end of the mipmap range to clamp access to. More... | |
float | max_lod |
Upper end of the mipmap range to clamp access to. More... | |
Describes a sampler state.
texture_address_mode reshade::api::sampler_desc::address_u |
Method to use for resolving U texture coordinates outside 0 to 1 range.
texture_address_mode reshade::api::sampler_desc::address_v |
Method to use for resolving V texture coordinates outside 0 to 1 range.
texture_address_mode reshade::api::sampler_desc::address_w |
Method to use for resolving W texture coordinates outside 0 to 1 range.
float reshade::api::sampler_desc::border_color[4] |
RGBA value to return for texture coordinates outside 0 to 1 range when addressing mode is texture_address_mode::border.
compare_op reshade::api::sampler_desc::compare_op |
Comparison function to use to compare sampled data against existing sampled data.
filter_mode reshade::api::sampler_desc::filter |
Filtering mode to use when sampling a texture.
float reshade::api::sampler_desc::max_anisotropy |
Clamping value to use when filtering mode is filter_mode::anisotropic.
float reshade::api::sampler_desc::max_lod |
Upper end of the mipmap range to clamp access to.
float reshade::api::sampler_desc::min_lod |
Lower end of the mipmap range to clamp access to.
float reshade::api::sampler_desc::mip_lod_bias |
Offset applied to the calculated mipmap level when sampling a texture.