Navigation
API > API/Runtime > API/Runtime/Core
Represents an optional set of constraints that a driver configuration entry can include:
- The RHI being used (e.g. "D3D12" will result in the entry to be considered only when running in D3D12).
- The adapter name, using a regular expression (e.g. ".*RTX.*" will result in the entry to be considered only for cards that contain the string "RTX").
| Name | FDriverConfigEntryConstraints |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformDriver.h |
| Include Path | #include "GenericPlatform/GenericPlatformDriver.h" |
Syntax
struct FDriverConfigEntryConstraints
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| GenericPlatform/GenericPlatformDriver.h | |||
FDriverConfigEntryConstraints
(
const TCHAR* Entry |
GenericPlatform/GenericPlatformDriver.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AdapterNameRegexConstraint | TOptional< FRegexPattern > | GenericPlatform/GenericPlatformDriver.h | ||
| RHINameConstraint | TOptional< FString > | GenericPlatform/GenericPlatformDriver.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AreConstraintsSatisfied
(
const FGPUDriverInfo& Info, |
GenericPlatform/GenericPlatformDriver.h | ||
bool HasConstraints() |
GenericPlatform/GenericPlatformDriver.h |