Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Shader
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Shader/ShaderTypes.h |
| Include | #include "Shader/ShaderTypes.h" |
Syntax
union FValueComponent
Remarks
The value of a single component within FValue. The actual type of the component is only known by FValue::Type
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8 | Bool | ||
| double | Double | ||
| float | Float | ||
| int32 | Int | ||
| uint64 | Packed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FValueComponent
(
float InValue |
|||
FValueComponent
(
double InValue |
|||
FValueComponent
(
int32 InValue |
|||
FValueComponent
(
bool InValue |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AsBool () |
'Bool' is stored as uint8 to avoid changing on different compilers | |
| const TCHAR * | ToString
(
EValueComponentType Type, |