ComputeMipLevel function attributes. More...
#include <GraphicsUtilities.h>
Public Attributes | |
| TEXTURE_FORMAT | Format = TEX_FORMAT_UNKNOWN |
| Texture format. | |
| Uint32 | FineMipWidth = 0 |
| Fine mip level width. | |
| Uint32 | FineMipHeight = 0 |
| Fine mip level height. | |
| const void * | pFineMipData = nullptr |
| Pointer to the fine mip level data. | |
| size_t | FineMipStride = 0 |
| Fine mip level data stride, in bytes. | |
| void * | pCoarseMipData = nullptr |
| Pointer to the coarse mip level data. | |
| size_t | CoarseMipStride = 0 |
| Coarse mip level data stride, in bytes. | |
| MIP_FILTER_TYPE | FilterType = MIP_FILTER_TYPE_DEFAULT |
| Filter type. | |
| float | AlphaCutoff = 0 |
| Alpha cutoff value. | |
ComputeMipLevel function attributes.
| float Diligent::ComputeMipLevelAttribs::AlphaCutoff = 0 |
Alpha cutoff value.
When AlphaCutoff is not 0, alpha channel is remapped as follows:
A_new = max(A_old; 1/3 * A_old + 2/3 * AlphaCutoff)