XII Release 0.1.0
Loading...
Searching...
No Matches
xiiImageUtils::MipMapOptions Struct Reference

Mip map generation options. More...

#include <ImageUtils.h>

Public Attributes

const xiiImageFilter * m_pFilter = nullptr
 The filter to use for mipmap generation. Defaults to bilinear filtering (Triangle filter) if none is given.
bool m_bRenormalizeNormals = false
 If true, the RGB components are scaled to unit length.
bool m_bPreserveCoverage = false
 If true, the alpha values are scaled to preserve the average coverage when alpha testing is enabled.
float m_fAlphaThreshold = 0.5f
 The alpha test threshold to use when PreserveCoverage == true.
xiiEnum< xiiGALTextureAddressMode > m_AddressModeU = xiiGALTextureAddressMode::Clamp
 The address mode for samples when filtering outside of the image dimensions in the horizontal direction.
xiiEnum< xiiGALTextureAddressMode > m_AddressModeV = xiiGALTextureAddressMode::Clamp
 The address mode for samples when filtering outside of the image dimensions in the vertical direction.
xiiEnum< xiiGALTextureAddressMode > m_AddressModeW = xiiGALTextureAddressMode::Clamp
 The address mode for samples when filtering outside of the image dimensions in the depth direction.
xiiColor m_BorderColor = xiiColor::Black
 The border color if texture address mode equals BORDER.
xiiUInt32 m_uiMipLevelCount = 0
 How many mip maps should be generated. Pass 0 to generate all mip map levels.

Detailed Description

Mip map generation options.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/Texture/Image/ImageUtils.h