UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
D3D12NvidiaExtensions.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "D3D12ThirdParty.h"
7
8#if WITH_NVAPI
11 #include <nvapi.h>
12 #include <nvShaderExtnEnums.h>
15#endif // WITH_NVAPI
16
17#if NV_AFTERMATH
18
21
22 namespace UE::RHICore::Nvidia::Aftermath::D3D12
23 {
24 typedef struct GFSDK_Aftermath_ContextHandle__* FCommandList;
25 typedef struct GFSDK_Aftermath_ResourceHandle__* FResource;
26
27 void InitializeDevice(ID3D12Device* RootDevice);
28 void CreateShaderAssociations(float TimeLimitSeconds, uint32 FrameLimit);
29
30 FCommandList RegisterCommandList(ID3D12CommandList* D3DCommandList);
31 void UnregisterCommandList(FCommandList CommandList);
32
33 FResource RegisterResource(ID3D12Resource* D3DResource);
34 void UnregisterResource(FResource Resource);
35
36 #if WITH_RHI_BREADCRUMBS
37 void BeginBreadcrumb(FCommandList CommandList, FRHIBreadcrumbNode* Breadcrumb);
38 void EndBreadcrumb (FCommandList CommandList, FRHIBreadcrumbNode* Breadcrumb);
39 #endif
40 }
41
42#endif // NV_AFTERMATH
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define THIRD_PARTY_INCLUDES_START
Definition GenericPlatformCompilerPreSetup.h:63
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Voronoi.cpp:10