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

Parameters of the CopyPixels function. More...

#include <TextureUtilities.h>

Public Attributes

Uint32 Width = 0
 Texture width.
 
Uint32 Height = 0
 Texture height.
 
Uint32 SrcComponentSize = 0
 Source component size in bytes.
 
const void * pSrcPixels = nullptr
 A pointer to source pixels.
 
Uint32 SrcStride = 0
 Source stride in bytes.
 
Uint32 SrcCompCount = 0
 Source component count.
 
void * pDstPixels = nullptr
 A pointer to destination pixels.
 
Uint32 DstComponentSize = 0
 Destination component size in bytes.
 
Uint32 DstStride = 0
 Destination stride in bytes.
 
Uint32 DstCompCount = 0
 Destination component count.
 
bool FlipVertically = false
 If true, flip the image vertically.
 
TextureComponentMapping Swizzle = TextureComponentMapping::Identity()
 Texture component swizzle.
 

Detailed Description

Parameters of the CopyPixels function.