D3D12XboxGetCachedReadPointer

Gets a cached read pointer for the specified CPU descriptor handle.

Syntax

void* D3D12XboxGetCachedReadPointer(
         const D3D12_CPU_DESCRIPTOR_HANDLE &Handle
)  

Parameters

Handle
Type: D3D12_CPU_DESCRIPTOR_HANDLE 

The CPU descriptor handle, as a D3D12_CPU_DESCRIPTOR_HANDLE structure.

Return value

Type: void *

Returns a cached read pointer for the specified CPU descriptor handle.

Remarks

The memory returned is cached and read-only, so writing to the returned pointer will result in an access violation. The cached view of the descriptor is coherent with write-combined writes to the memory.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.