D3D12_SUBRESOURCE_INFO structure (d3d12.h)
Describes subresource data.
C++
typedef struct D3D12_SUBRESOURCE_INFO {
UINT64 Offset;
UINT RowPitch;
UINT DepthPitch;
} D3D12_SUBRESOURCE_INFO;
Offset
Offset, in bytes, between the start of the parent resource and this subresource.
RowPitch
The row pitch, or width, or physical size, in bytes, of the subresource data.
DepthPitch
The depth pitch, or width, or physical size, in bytes, of the subresource data.
Requirement | Value |
---|---|
Header | d3d12.h |