![]() |
NVAPI Reference Documentation
|
Release 396: April 5
|
#include <nvapi.h>
Data Fields | |
| __in NvU32 | version |
| __in ID3D12Device * | pDevice |
| __in ID3D12Resource * | pSwapChainBuffer |
| __in NvU32 | companionBufferCount |
| __inout ID3D12Resource ** | ppCompanionResources |
SUPPORTED OS: Windows 10 and higher
The number of ID3D12Resource pointers requested to be returned in the ppComanionResources array, which should match ID3D12Device::GetNodeCount for the complete set of companion allocations.
| __in ID3D12Device* _NV_D3D12_MOSAIC_GETCOMPANIONALLOCATIONS::pDevice |
The ID3D12Device created by application.
| __inout ID3D12Resource** _NV_D3D12_MOSAIC_GETCOMPANIONALLOCATIONS::ppCompanionResources |
An array of ID3D12Resource pointers sized to match companionBufferCount, which will receive the companion allocations.
| __in ID3D12Resource* _NV_D3D12_MOSAIC_GETCOMPANIONALLOCATIONS::pSwapChainBuffer |
The ID3D12Resource part of the application swap chain that has companion allocations.
