API Documentation
Public Attributes | List of all members
nkImages::AlignmentDescriptor Struct Referencefinal

Holds information about alignment constraints. More...

Public Attributes

unsigned int _rowByteAlignment = 1
 Alignment of a row inside a texture. A row is a set of pixels forming a line in the texture.
 
unsigned int _pixelByteAlignment = 1
 Alignment of a pixel inside a texture. A pixel is a set of channels depending on the format, forming rows and slices.
 
ALPHA_MODE _alphaMode = ALPHA_MODE::AUTO
 Describes the alpha mode the output should satisfy.
 
bool _forceRgbFormat = true
 Whether images that are not RGB type formats should be output as RGB (converted on the fly).
 
bool _forceRgbReordering = false
 Whether images that are found to be ordered in BGR fashion should be reordered into an RGB format.
 

Detailed Description

Holds information about alignment constraints.


The documentation for this struct was generated from the following file: