Struct SubresourceInformation

Nested Relationships

Nested Types

Struct Documentation

struct SubresourceInformation

Public Functions

SubresourceInformation(const D3D12_RESOURCE_DESC &desc, UINT subresource, const D3D12_PLACED_SUBRESOURCE_FOOTPRINT &placement, uint32_t numRows)
size_t GetSize() const
bool NeedToConvert() const
bool FromatCondition(DXGI_FORMAT srcFormat, DXGI_FORMAT dstFormat) const
bool FromatCondition(DXGI_FORMAT srcFormat1, DXGI_FORMAT srcFormat2, DXGI_FORMAT dstFormat) const

Public Members

struct gpa::resource_utilities::d3d12::SubresourceInformation::Properties srcInfo
struct gpa::resource_utilities::d3d12::SubresourceInformation::Properties dstInfo
uint32_t width = 0
uint32_t height = 0
uint32_t depth = 0
struct Properties

Public Functions

size_t GetPixelSize() const

Public Members

DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN
uint32_t rowPitch = 0
uint64_t depthPitch = 0
size_t size = 0
size_t alignedSize = 0