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

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

#include <GraphicsAccessories.hpp>

Public Attributes

Uint64 RowSize = 0
 
Uint64 RowStride = 0
 
Uint32 RowStrideInTexels = 0
 Row stride in texels.
 
Uint32 RowCount = 0
 
Uint64 DepthStride = 0
 Depth stride (RowStride * RowCount)
 
Uint64 MemorySize = 0
 Total memory size required to store the pixels in the region.
 
Box Region
 Texture region.
 

Detailed Description

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

Member Data Documentation

◆ RowCount

Uint32 Diligent::BufferToTextureCopyInfo::RowCount = 0

The number of rows in the region. For compressed formats, this is the number of compressed-block rows.

◆ RowSize

Uint64 Diligent::BufferToTextureCopyInfo::RowSize = 0

Texture region row size, in bytes. For compressed formats, this is the size of one row of compressed blocks.

◆ RowStride

Uint64 Diligent::BufferToTextureCopyInfo::RowStride = 0

Row stride, in bytes. The stride is computed by aligning the RowSize, and is thus always >= RowSize.