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

Mip map generation options. More...

#include <ImageUtils.h>

Public Attributes

const xiiImageFilterm_filter = nullptr
 The filter to use for mipmap generation. Defaults to bilinear filtering (Triangle filter) if none is given.
 
bool m_renormalizeNormals = false
 Rescale RGB components to unit length.
 
bool m_preserveCoverage = false
 If true, the alpha values are scaled to preserve the average coverage when alpha testing is enabled,.
 
float m_alphaThreshold = 0.5f
 The alpha test threshold to use when m_preserveCoverage == true.
 
xiiImageAddressMode::Enum m_addressModeU = xiiImageAddressMode::Clamp
 The address mode for samples when filtering outside of the image dimensions in the horizontal direction.
 
xiiImageAddressMode::Enum m_addressModeV = xiiImageAddressMode::Clamp
 The address mode for samples when filtering outside of the image dimensions in the vertical direction.
 
xiiImageAddressMode::Enum m_addressModeW = xiiImageAddressMode::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_numMipMaps = 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: