Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::PremultiplyAlphaAttribs Struct Reference

Parameters of the PremultiplyAlpha function. More...

#include <TextureUtilities.h>

Public Attributes

Uint32 Width = 0
 Texture width.
 
Uint32 Height = 0
 Texture height.
 
void * pPixels = nullptr
 A pointer to pixels.
 
Uint32 Stride = 0
 Stride in bytes.
 
Uint32 ComponentCount = 0
 Component count.
 
VALUE_TYPE ComponentType = VT_UINT8
 Component type.
 
bool IsSRGB = false
 If true, the texture is in sRGB format.
 

Detailed Description

Parameters of the PremultiplyAlpha function.