// d3d12umddi.h
typedef struct D3D12DDI_RESOURCE_ALLOCATION_INFO_0022 {
UINT64 ResourceDataSize;
UINT64 AdditionalDataHeaderSize;
UINT64 AdditionalDataSize;
UINT32 ResourceDataAlignment;
UINT32 AdditionalDataHeaderAlignment;
UINT32 AdditionalDataAlignment;
D3D12DDI_TEXTURE_LAYOUT Layout;
UINT8 MipLevelSwizzleTransition[5];
UINT8 PlaneSliceSwizzleTransition[2];
} D3D12DDI_RESOURCE_ALLOCATION_INFO_0022;
View the official Windows Driver Kit DDI referenceNo description available.
Specifies information for resource allocation.
ResourceDataSizeThe data size of the resource.
AdditionalDataHeaderSizeThe additional size of the data header.
AdditionalDataSizeThe additional data size.
ResourceDataAlignmentThe data alignment of the resource.
AdditionalDataHeaderAlignmentThe data alignment of the additional header.
AdditionalDataAlignmentThe additional data alignment.
LayoutThe texture layout as a D3D12DDI_TEXTURE_LAYOUT value.
MipLevelSwizzleTransitionThe MIP level for a swizzle transition.
PlaneSliceSwizzleTransitionThe plane slice for a swizzle transition.