#include <kanzi/core.ui/graphics2d/sampler.hpp>
Public Member Functions | |
CreateInfo (MipmapMode mipmapMode, Filter minificationFilter, Filter magnificationFilter, AddressingMode addressingMode, GraphicsCompareFunction depthCompareFunction, float anisotropy, float mipLodBias, float minLod, float maxLod) | |
Public Attributes | |
AddressingMode | addressingMode |
Texture addressing mode. Default CreateInfo constructor initializes this to Sampler::AddressingModeClamp. | |
float | anisotropy |
Texture anisotropy. | |
GraphicsCompareFunction | depthCompareFunction |
Depth compare function. Default CreateInfo constructor initializes this to GraphicsCompareFunctionDisabled. | |
Filter | magnificationFilter |
Texture magnification filter. Default CreateInfo constructor initializes this to Sampler::FilterNearest. | |
float | maxLod |
Maximum texture level of detail. | |
Filter | minificationFilter |
Texture minification filter. Default CreateInfo constructor initializes this to Sampler::FilterNearest. | |
float | minLod |
Minimum texture level of detail. | |
float | mipLodBias |
Texture mipmap level of detail bias. | |
MipmapMode | mipmapMode |
Mipmap mode for the texture. Default CreateInfo constructor initializes this to Sampler::MipmapModeBase. | |
|
explicit |
MipmapMode kanzi::Sampler::CreateInfo::mipmapMode |
Mipmap mode for the texture. Default CreateInfo constructor initializes this to Sampler::MipmapModeBase.
Filter kanzi::Sampler::CreateInfo::minificationFilter |
Texture minification filter. Default CreateInfo constructor initializes this to Sampler::FilterNearest.
Filter kanzi::Sampler::CreateInfo::magnificationFilter |
Texture magnification filter. Default CreateInfo constructor initializes this to Sampler::FilterNearest.
AddressingMode kanzi::Sampler::CreateInfo::addressingMode |
Texture addressing mode. Default CreateInfo constructor initializes this to Sampler::AddressingModeClamp.
GraphicsCompareFunction kanzi::Sampler::CreateInfo::depthCompareFunction |
Depth compare function. Default CreateInfo constructor initializes this to GraphicsCompareFunctionDisabled.
float kanzi::Sampler::CreateInfo::anisotropy |
Texture anisotropy.
Default CreateInfo constructor initializes this to 1.0 (no anisotropy).
float kanzi::Sampler::CreateInfo::mipLodBias |
Texture mipmap level of detail bias.
Default CreateInfo constructor initializes this to 0.
float kanzi::Sampler::CreateInfo::minLod |
Minimum texture level of detail.
Default CreateInfo constructor initializes this to -1000 (effectively no clamping for level of detail).
float kanzi::Sampler::CreateInfo::maxLod |
Maximum texture level of detail.
Default CreateInfo constructor initializes this to 1000 (effectively no clamping for level of detail).