Plasma Engine  2.0
Loading...
Searching...
No Matches
plImageUtils::MipMapOptions Struct Reference

Mip map generation options. More...

#include <ImageUtils.h>

Public Attributes

const plImageFilterm_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.
 
plImageAddressMode::Enum m_addressModeU = plImageAddressMode::Clamp
 The address mode for samples when filtering outside of the image dimensions in the horizontal direction.
 
plImageAddressMode::Enum m_addressModeV = plImageAddressMode::Clamp
 The address mode for samples when filtering outside of the image dimensions in the vertical direction.
 
plImageAddressMode::Enum m_addressModeW = plImageAddressMode::Clamp
 The address mode for samples when filtering outside of the image dimensions in the depth direction.
 
plColor m_borderColor = plColor::Black
 The border color if texture address mode equals BORDER.
 
plUInt32 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: