kanzi::Sampler::CreateInfo Struct Reference

#include <kanzi/core.ui/platform/graphics_backend/gl/sampler.hpp>

Public Member Functions

 CreateInfo (MipmapMode mipmapMode, Filter minificationFilter, Filter magnificationFilter, AddressingMode addressingMode, float anisotropy, float mipLodBias, float minLod, float maxLod)
 

Public Attributes

MipmapMode mipmapMode
 Mipmap mode for the texture. Default CreateInfo constructor initializes this to Sampler::MipmapModeBase. More...
 
Filter minificationFilter
 Texture minification filter. Default CreateInfo constructor initializes this to Sampler::FilterNearest. More...
 
Filter magnificationFilter
 Texture magnification filter. Default CreateInfo constructor initializes this to Sampler::FilterNearest. More...
 
AddressingMode addressingMode
 Texture addressing mode. Default CreateInfo constructor initializes this to Sampler::AddressingModeClamp. More...
 
float anisotropy
 Texture anisotropy. More...
 
float mipLodBias
 Texture mipmap level of detail bias. More...
 
float minLod
 Minimum texture level of detail. More...
 
float maxLod
 Maximum texture level of detail. More...
 

Constructor & Destructor Documentation

kanzi::Sampler::CreateInfo::CreateInfo ( MipmapMode  mipmapMode,
Filter  minificationFilter,
Filter  magnificationFilter,
AddressingMode  addressingMode,
float  anisotropy,
float  mipLodBias,
float  minLod,
float  maxLod 
)
explicit

Member Data Documentation

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.

float kanzi::Sampler::CreateInfo::anisotropy

Texture anisotropy.

Default CreateInfo constructor initializes this to 1.0 (no anisotropy).

Note
Use of anisotropic texture filter requires GL extension.
float kanzi::Sampler::CreateInfo::mipLodBias

Texture mipmap level of detail bias.

Default CreateInfo constructor initializes this to 0.

Note
Using texture Lod controls requires OpenGL ES 3.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).

Note
Using texture Lod controls requires OpenGL ES 3.0.
float kanzi::Sampler::CreateInfo::maxLod

Maximum texture level of detail.

Default CreateInfo constructor initializes this to 1000 (effectively no clamping for level of detail).

Note
Using texture Lod controls requires OpenGL ES 3.0.

The documentation for this struct was generated from the following file: