![]() |
LLGL 0.05 Beta
|
Texture sampler descriptor structure. More...
#include <SamplerFlags.h>
Public Attributes | |
| const char * | debugName = nullptr |
| Optional name for debugging purposes. By default null. | |
| SamplerAddressMode | addressModeU = SamplerAddressMode::Repeat |
| Sampler address mode in U direction (also X axis). By default SamplerAddressMode::Repeat. | |
| SamplerAddressMode | addressModeV = SamplerAddressMode::Repeat |
| Sampler address mode in V direction (also Y axis). By default SamplerAddressMode::Repeat. | |
| SamplerAddressMode | addressModeW = SamplerAddressMode::Repeat |
| Sampler address mode in W direction (also Z axis). By default SamplerAddressMode::Repeat. | |
| SamplerFilter | minFilter = SamplerFilter::Linear |
| Minification filter. By default SamplerFilter::Linear. | |
| SamplerFilter | magFilter = SamplerFilter::Linear |
| Magnification filter. By default SamplerFilter::Linear. | |
| SamplerFilter | mipMapFilter = SamplerFilter::Linear |
| MIP-mapping filter. By default SamplerFilter::Linear. | |
| bool | mipMapEnabled = true |
| Specifies whether MIP-mapping is enabled or disabled. By default true. | |
| float | mipMapLODBias = 0.0f |
| MIP-mapping level-of-detail (LOD) bias (or rather offset). By default 0. | |
| float | minLOD = 0.0f |
| Lower end of the MIP-map range. By default 0. | |
| float | maxLOD = 1000.0f |
Upper end of the MIP-map range. Must be greater than or equal to minLOD. By default 1000. | |
| std::uint32_t | maxAnisotropy = 1 |
| Maximal anisotropy in the range [1, 16]. | |
| bool | compareEnabled = false |
| Specifies whether the compare operation for depth textures is to be used or not. By default false. | |
| CompareOp | compareOp = CompareOp::Less |
| Compare operation for depth textures. By default CompareOp::Less. | |
| float | borderColor [4] = { 0.0f, 0.0f, 0.0f, 0.0f } |
| Border color vector with four components: red, green, blue, and alpha. By default transparent-black (0, 0, 0, 0). | |
Texture sampler descriptor structure.
| SamplerAddressMode LLGL::SamplerDescriptor::addressModeU = SamplerAddressMode::Repeat |
Sampler address mode in U direction (also X axis). By default SamplerAddressMode::Repeat.
| SamplerAddressMode LLGL::SamplerDescriptor::addressModeV = SamplerAddressMode::Repeat |
Sampler address mode in V direction (also Y axis). By default SamplerAddressMode::Repeat.
| SamplerAddressMode LLGL::SamplerDescriptor::addressModeW = SamplerAddressMode::Repeat |
Sampler address mode in W direction (also Z axis). By default SamplerAddressMode::Repeat.
| float LLGL::SamplerDescriptor::borderColor[4] = { 0.0f, 0.0f, 0.0f, 0.0f } |
Border color vector with four components: red, green, blue, and alpha. By default transparent-black (0, 0, 0, 0).
| bool LLGL::SamplerDescriptor::compareEnabled = false |
Specifies whether the compare operation for depth textures is to be used or not. By default false.
| CompareOp LLGL::SamplerDescriptor::compareOp = CompareOp::Less |
Compare operation for depth textures. By default CompareOp::Less.
| const char* LLGL::SamplerDescriptor::debugName = nullptr |
Optional name for debugging purposes. By default null.
| SamplerFilter LLGL::SamplerDescriptor::magFilter = SamplerFilter::Linear |
Magnification filter. By default SamplerFilter::Linear.
| std::uint32_t LLGL::SamplerDescriptor::maxAnisotropy = 1 |
| float LLGL::SamplerDescriptor::maxLOD = 1000.0f |
Upper end of the MIP-map range. Must be greater than or equal to minLOD. By default 1000.
| SamplerFilter LLGL::SamplerDescriptor::minFilter = SamplerFilter::Linear |
Minification filter. By default SamplerFilter::Linear.
| float LLGL::SamplerDescriptor::minLOD = 0.0f |
Lower end of the MIP-map range. By default 0.
| bool LLGL::SamplerDescriptor::mipMapEnabled = true |
Specifies whether MIP-mapping is enabled or disabled. By default true.
mipMapFilter is ignored. | SamplerFilter LLGL::SamplerDescriptor::mipMapFilter = SamplerFilter::Linear |
MIP-mapping filter. By default SamplerFilter::Linear.
| float LLGL::SamplerDescriptor::mipMapLODBias = 0.0f |