UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WindowsD3D12RHIDefinitions.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
"
6
7
#define D3D12RHI_DEFAULT_NUM_BACKBUFFER 3
8
9
// Windows uses the graphics command list interface for the copy queue.
10
typedef
ID3D12GraphicsCommandList
ID3D12CopyCommandList
;
11
12
#define D3D12RHI_PLATFORM_COPY_COMMAND_LIST_TYPE D3D12_COMMAND_LIST_TYPE_COPY
13
14
#define FD3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER
15
16
// Windows uses standard D3D12 query heaps for timestamps
17
#define D3D12RHI_PLATFORM_USES_TIMESTAMP_QUERIES 1
18
19
#define D3D12RHI_RESOURCE_FLAG_ALLOW_INDIRECT_BUFFER D3D12_RESOURCE_FLAG_NONE
20
#define D3D12RHI_HEAP_FLAG_ALLOW_INDIRECT_BUFFERS D3D12_HEAP_FLAG_NONE
21
22
#define FD3D12_HEAP_FLAG_CREATE_NOT_ZEROED D3D12_HEAP_FLAG_CREATE_NOT_ZEROED
23
24
#define D3D12RHI_NEEDS_VENDOR_EXTENSIONS 1
25
#define D3D12RHI_NEEDS_SHADER_FEATURE_CHECKS 1
26
27
#define USE_STATIC_ROOT_SIGNATURE 0
28
#define D3D12RHI_USE_CONSTANT_BUFFER_VIEWS 0
29
#define D3D12RHI_USE_DUMMY_BACKBUFFER 1
30
#define D3D12RHI_USE_SDR_BACKBUFFER 0
31
#define D3D12RHI_SUPPORTS_UAV_BACKBUFFER 0
32
#define D3D12RHI_USE_DXGI_COLOR_SPACE 1
33
34
// Only enable pipeline statistics if we've got the stats system enabled to display them
35
#define D3D12RHI_ENABLE_PIPELINE_STATISTICS (1 && STATS)
36
37
#define D3D12RHI_ALLOW_ENHANCED_BARRIERS 1
38
#define D3D12RHI_ALLOW_LEGACY_BARRIERS 1
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
D3D12ThirdParty.h
ID3D12CopyCommandList
ID3D12GraphicsCommandList ID3D12CopyCommandList
Definition
WindowsD3D12RHIDefinitions.h:10
Engine
Source
Runtime
D3D12RHI
Private
Windows
WindowsD3D12RHIDefinitions.h
Generated by
1.9.8