Bewerken

Delen via


D3D12DDI_RESOURCE_ALLOCATION_INFO_0022 structure (d3d12umddi.h)

Specifies information for resource allocation.

Syntax

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;

Members

ResourceDataSize

The data size of the resource.

AdditionalDataHeaderSize

The additional size of the data header.

AdditionalDataSize

The additional data size.

ResourceDataAlignment

The data alignment of the resource.

AdditionalDataHeaderAlignment

The data alignment of the additional header.

AdditionalDataAlignment

The additional data alignment.

Layout

The texture layout as a D3D12DDI_TEXTURE_LAYOUT value.

MipLevelSwizzleTransition[5]

The MIP level for a swizzle transition.

PlaneSliceSwizzleTransition[2]

The plane slice for a swizzle transition.

Requirements

Requirement Value
Header d3d12umddi.h (include D3d12umddi.h)

See also

D3D12DDI_TEXTURE_LAYOUT