struct
ImageSubresourcePitch
Contains the row pitch and slice height for an image subresource.
Public
Constructors
ImageSubresourcePitch
ImageSubresourcePitch(u32 rowPitch = 0, u32 sliceHeight = 0)
Fields
RowPitch
u32 RowPitch
Number of blocks before advancing to the next row.
For non-compressed formats this is equal to the number of pixels. For compressed it depends on the block size.
SliceHeight
u32 SliceHeight
Number of block columns before advancing to the next slice.
For non-compressed formats this is equal to the number of pixels. For compressed it depends on the block size.