Syntax
Parameters
Return value
Type: D3D12_GPU_VIRTUAL_ADDRESS This method returns the GPU virtual address. D3D12_GPU_VIRTUAL_ADDRESS is a typedef’d synonym of UINT64.Remarks
This method is only useful for buffer resources, it will return zero for all texture resources. For more information on the use of GPU virtual addresses, refer to Indirect Drawing.Examples
The D3D1211on12 sample uses ID3D12Resource::GetGPUVirtualAddress as follows:Requirements
Header: d3d12_xs.h or d3d12_x.hLibrary: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family
