![]() |
Lysa
0.0
Lysa 3D Engine
|
Human-readable description of sampler creation parameters. Two SamplerInfo values are considered equal if all fields match; this allows avoiding duplicate samplers.
Public Attributes | |
| vireo::Filter | minFilter |
| vireo::Filter | maxFilter |
| vireo::AddressMode | samplerAddressModeU |
| vireo::AddressMode | samplerAddressModeV |
| float | minLod |
| float | maxLod |
| bool | anisotropyEnable |
| vireo::MipMapMode | mipMapMode |
| vireo::CompareOp | samplerCompareOp |
Friends | |
| bool | operator== (const SamplerInfo &l, const SamplerInfo &r) |
|
friend |
| bool anisotropyEnable |
Enables anisotropic filtering if supported by the backend.
| vireo::Filter maxFilter |
Magnification filter used by the sampler.
| float maxLod |
Maximum mip level to sample from (LOD clamp).
| vireo::Filter minFilter |
Minification filter used by the sampler.
| float minLod |
Minimum mip level to sample from (LOD clamp).
| vireo::MipMapMode mipMapMode |
Mip level sampling mode (nearest/linear).
| vireo::AddressMode samplerAddressModeU |
Addressing mode for the U (S) texture coordinate.
| vireo::AddressMode samplerAddressModeV |
Addressing mode for the V (T) texture coordinate.
| vireo::CompareOp samplerCompareOp |
Optional comparison operation (useful for shadow samplers).