nicegraf
|
Data Fields | |
ngf_sampler_filter | min_filter |
ngf_sampler_filter | mag_filter |
ngf_sampler_filter | mip_filter |
ngf_sampler_wrap_mode | wrap_u |
ngf_sampler_wrap_mode | wrap_v |
ngf_sampler_wrap_mode | wrap_w |
float | lod_max |
float | lod_min |
float | lod_bias |
float | max_anisotropy |
bool | enable_anisotropy |
Information for creating an ngf_sampler object.
bool ngf_sampler_info::enable_anisotropy |
Whether to allow anisotropic filtering.
float ngf_sampler_info::lod_bias |
A bias to add to the mip level calculated during the sample operation.
float ngf_sampler_info::lod_max |
Maximum mip level that shall be used during the filtering operation. Note that this refers to the level itself and not the dimensions of data residing in that level, e.g. level 0 (the smallest possible level) has the largest dimensions.
float ngf_sampler_info::lod_min |
Minimum mip level that shall be used during the filtering operation. Note that this refers to the level itself and not the dimensions of data residing in that level, e.g. level 0 (the smallest possible level) has the largest dimensions.
ngf_sampler_filter ngf_sampler_info::mag_filter |
The filter to apply when the sampled image is magnified.
float ngf_sampler_info::max_anisotropy |
Max allowed degree of anisotropy. Ignored if ngf_sampler_info::enable_anisotropy is false.
ngf_sampler_filter ngf_sampler_info::min_filter |
The filter to apply when the sampled image is minified .
ngf_sampler_filter ngf_sampler_info::mip_filter |
The filter to use when transitioning between mip levels.
ngf_sampler_wrap_mode ngf_sampler_info::wrap_u |
Wrap mode for the U coordinate.
ngf_sampler_wrap_mode ngf_sampler_info::wrap_v |
Wrap mode for the V coordinate.
ngf_sampler_wrap_mode ngf_sampler_info::wrap_w |
Wrap mode for the W coordinate.