Navigation
API > API/Runtime > API/Runtime/RHI
Wrapper for GRHI## global variables, allows values to be overridden for mobile preview modes.
| Name | TRHIGlobal |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIGlobals.h |
| Include Path | #include "RHIGlobals.h" |
Syntax
template<typename TValueType>
class TRHIGlobal
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TRHIGlobal () |
RHIGlobals.h | ||
TRHIGlobal
(
const TValueType& InValue |
RHIGlobals.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PreviewValue | TOptional< TValueType > | RHIGlobals.h | ||
| Value | TValueType | RHIGlobals.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetPreviewOverride
(
const TValueType& InValue |
RHIGlobals.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator TValueType() |
RHIGlobals.h | ||
TRHIGlobal & operator=
(
const TValueType& InValue |
RHIGlobals.h |