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

Texture source data. More...

#include <RadientAssets.h>

Public Attributes

Uint32 Width = 0
 Texture width in pixels.
Uint32 Height = 0
 Texture height in pixels.
RADIENT_TEXTURE_FORMAT Format = RADIENT_TEXTURE_FORMAT_UNKNOWN
 Texture format.
const void * pData = nullptr
 Pointer to mip 0 pixel data.
Uint32 Stride = 0

Detailed Description

Texture source data.

Member Data Documentation

◆ Stride

Uint32 Diligent::RadientTextureData::Stride = 0

Row stride, in bytes. If zero, Radient derives tightly packed stride from Format and Width. Stride must be at least the active row size.