D3D12XBOX_COMPONENT_PLACED_ADDRESSES Structure

A union used by ID3D12Device::CreateComponentPlacedResourceX, storing one of the following structures: Resource, NonAARenderTarget, AARenderTarget, DepthTarget, DepthStencilTarget. Every member of these structures is a D3D12_GPU_VIRTUAL_ADDRESS.

Syntax

typedef struct D3D12XBOX_COMPONENT_PLACED_ADDRESSES {
    union {
        // 
        struct {
            D3D12_GPU_VIRTUAL_ADDRESS BaseAddress;
        }Resource;
        // 
        struct {
            D3D12_GPU_VIRTUAL_ADDRESS ColorSamples;
            D3D12_GPU_VIRTUAL_ADDRESS CMask;
            D3D12_GPU_VIRTUAL_ADDRESS DCC;
        }NonAARenderTarget;
        // 
        struct {
            D3D12_GPU_VIRTUAL_ADDRESS ColorSamples;
            D3D12_GPU_VIRTUAL_ADDRESS CMask;
            D3D12_GPU_VIRTUAL_ADDRESS FragmentMask;
            D3D12_GPU_VIRTUAL_ADDRESS DCC;
        }AARenderTarget;
        // 
        struct {
            D3D12_GPU_VIRTUAL_ADDRESS DepthSamples;
            D3D12_GPU_VIRTUAL_ADDRESS HTile;
        }DepthTarget;
        // 
        struct {
            D3D12_GPU_VIRTUAL_ADDRESS DepthSamples;
            D3D12_GPU_VIRTUAL_ADDRESS HTile;
            D3D12_GPU_VIRTUAL_ADDRESS StencilSamples;
        }DepthStencilTarget;
    };
} D3D12XBOX_COMPONENT_PLACED_ADDRESSES;  

Members

Resource
RESOURCE STRUCT

BaseAddress
The base address of the resource, as a D3D12_GPU_VIRTUAL_ADDRESS (a UINT64).

NonAARenderTarget
NON-AA RENDER TARGET STRUCT

ColorSamples
The address of color samples for the non-AA render target.

CMask
The address of the CMask for the non-AA render target.

DCC
The address of the DCC key surface associated with the non-AA render target.

AARenderTarget
AA RENDER TARGET STRUCT

ColorSamples
The address of the color samples for the AA render target.

CMask
The address of the CMask for the AA render target.

FragmentMask
The address of the fragment mask for the AA render target.

DCC
The address of the DCC key surface associated with the AA render target.

DepthTarget
DEPTH TARGET STRUCT

DepthSamples
The address of the depth samples for the depth target.

HTile
The address of the HTile for the depth target.

DepthStencilTarget
DEPTH STENCIL TARGET STRUCT

DepthSamples
The address of the depth samples for the depth stencil target.

HTile
The address of the HTile for the depth stencil target.

StencilSamples
The address of the stencil samples for the depth stencil target.

Remarks

This structure is used by ID3D12Device::CreateComponentPlacedResourceX.

Requirements

Header: Declared in d3d12_x.h.