36#include"nvapi_lite_salstart.h"
37#include"nvapi_lite_common.h"
75#define NV_GET_CURRENT_SLI_STATE_VER1 MAKE_NVAPI_VERSION(NV_GET_CURRENT_SLI_STATE_V1,1)
76#define NV_GET_CURRENT_SLI_STATE_VER2 MAKE_NVAPI_VERSION(NV_GET_CURRENT_SLI_STATE_V2,1)
77#define NV_GET_CURRENT_SLI_STATE_VER NV_GET_CURRENT_SLI_STATE_VER2
78#define NV_GET_CURRENT_SLI_STATE NV_GET_CURRENT_SLI_STATE_V2
79#if defined(_D3D9_H_) || defined(__d3d10_h__) || defined(__d3d11_h__)
100NVAPI_INTERFACE NvAPI_D3D_GetCurrentSLIState(IUnknown *pDevice, NV_GET_CURRENT_SLI_STATE *pSliState);
102#if defined(_D3D9_H_) || defined(__d3d10_h__) || defined(__d3d11_h__)
142typedef enum _NVAPI_D3D_SETRESOURCEHINT_CATEGORY
144 NVAPI_D3D_SRH_CATEGORY_SLI = 1
145} NVAPI_D3D_SETRESOURCEHINT_CATEGORY;
171typedef enum _NVAPI_D3D_SETRESOURCEHINT_SLI
173 NVAPI_D3D_SRH_SLI_APP_CONTROLLED_INTERFRAME_CONTENT_SYNC = 1,
174 NVAPI_D3D_SRH_SLI_ASK_FOR_BROADCAST_USAGE = 2,
175 NVAPI_D3D_SRH_SLI_RESPECT_DRIVER_INTERFRAME_CONTENT_SYNC = 3
176} NVAPI_D3D_SETRESOURCEHINT_SLI;
179NVAPI_INTERFACE NvAPI_D3D_SetResourceHint(IUnknown *pDev, NVDX_ObjectHandle obj,
180 NVAPI_D3D_SETRESOURCEHINT_CATEGORY dwHintCategory,
182 NvU32 *pdwHintValue);
185#if defined(_D3D9_H_) || defined(__d3d10_h__) || defined(__d3d11_h__)
211typedef enum _NVAPI_D3D_RESOURCERENDERING_FLAG
213 NVAPI_D3D_RR_FLAG_DEFAULTS = 0x00000000,
214 NVAPI_D3D_RR_FLAG_FORCE_DISCARD_CONTENT = 0x00000001,
215 NVAPI_D3D_RR_FLAG_FORCE_KEEP_CONTENT = 0x00000002,
216 NVAPI_D3D_RR_FLAG_MULTI_FRAME = 0x00000004
217} NVAPI_D3D_RESOURCERENDERING_FLAG;
220NVAPI_INTERFACE NvAPI_D3D_BeginResourceRendering(IUnknown *pDeviceOrContext, NVDX_ObjectHandle obj, NvU32 Flags);
224#if defined(_D3D9_H_) || defined(__d3d10_h__) || defined(__d3d11_h__)
248NVAPI_INTERFACE NvAPI_D3D_EndResourceRendering(IUnknown *pDeviceOrContext, NVDX_ObjectHandle obj, NvU32 Flags);
251#include"nvapi_lite_salend.h"
Definition nvapi_lite_sli.h:50
NvU32 currentAFRIndex
[OUT] The AFR group index for the frame currently being rendered
Definition nvapi_lite_sli.h:54
NvU32 nextFrameAFRIndex
[OUT] What the AFR group index will be for the next frame (i.e. after calling Present)
Definition nvapi_lite_sli.h:55
NvU32 previousFrameAFRIndex
[OUT] The AFR group index that was used for the previous frame (~0 if more than one frame has not bee...
Definition nvapi_lite_sli.h:56
NvU32 maxNumAFRGroups
[OUT] The maximum possible value of numAFRGroups
Definition nvapi_lite_sli.h:52
NvU32 numAFRGroups
[OUT] The number of AFR groups enabled in the system
Definition nvapi_lite_sli.h:53
NvU32 version
Structure version.
Definition nvapi_lite_sli.h:51
NvU32 bIsCurAFRGroupNew
[OUT] Boolean: Is this frame the first time running on the current AFR group
Definition nvapi_lite_sli.h:57
Definition nvapi_lite_sli.h:62
NvU32 maxNumAFRGroups
[OUT] The maximum possible value of numAFRGroups
Definition nvapi_lite_sli.h:64
NvU32 currentAFRIndex
[OUT] The AFR group index for the frame currently being rendered
Definition nvapi_lite_sli.h:66
NvU32 bIsCurAFRGroupNew
[OUT] Boolean: Is this frame the first time running on the current AFR group
Definition nvapi_lite_sli.h:69
NvU32 nextFrameAFRIndex
[OUT] What the AFR group index will be for the next frame (i.e. after calling Present)
Definition nvapi_lite_sli.h:67
NvU32 numVRSLIGpus
[OUT] The number of GPUs used in VR-SLI. If it is 0 VR-SLI is not active
Definition nvapi_lite_sli.h:70
NvU32 previousFrameAFRIndex
[OUT] The AFR group index that was used for the previous frame (~0 if more than one frame has not bee...
Definition nvapi_lite_sli.h:68
NvU32 version
Structure version.
Definition nvapi_lite_sli.h:63
NvU32 numAFRGroups
[OUT] The number of AFR groups enabled in the system
Definition nvapi_lite_sli.h:65