Diligent::BufferToTextureCopyInfo struct

Information required to perform a copy operation between a buffer and a texture.

Contents

Public variables

Uint32 RowSize
Texture region row size, in bytes. For compressed formats, this is the size of one row of compressed blocks.
Uint32 RowStride
Row stride, in bytes. The stride is computed by aligning the RowSize, and is thus always >= RowSize.
Uint32 RowStrideInTexels
Row stride in texels.
Uint32 RowCount
The number of rows in the region. For compressed formats, this is the number of compressed-block rows.
Uint32 DepthStride
Depth stride (RowStride * RowCount)
Uint32 MemorySize
Total memory size required to store the pixels in the region.
Box Region
Texture region.