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
struct FValue
Remarks
Can store a numeric/struct shader value of any type Values are represented as a flat list of components
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FValueComponent, TInlineAllocator< 16 > > | Component | ||
| FType | Type |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FValue () |
|||
FValue
(
const FVector4d& Value |
|||
FValue
(
bool v |
|||
FValue
(
int32 v |
|||
FValue
(
EValueComponentType InComponentType, |
|||
FValue
(
float X, |
|||
FValue
(
double X, |
|||
FValue
(
float X, |
|||
FValue
(
double X, |
|||
FValue
(
float X, |
|||
FValue
(
double X, |
|||
FValue
(
bool X, |
|||
FValue
(
float v |
|||
FValue
(
double v |
|||
FValue
(
const FLinearColor& Value |
|||
FValue
(
const FVector2f& Value |
|||
FValue
(
const FVector3f& Value |
|||
FValue
(
const FVector3d& Value |
|||
FValue
(
const FVector4f& Value |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FBoolValue | AsBool () |
||
| bool | AsBoolScalar () |
||
| FDoubleValue | AsDouble () |
||
| FFloatValue | AsFloat () |
||
| float | |||
| FIntValue | AsInt () |
||
| FLinearColor | |||
| FMemoryImageValue | |||
| FVector4d | AsVector4d () |
||
| FValue | FromMemoryImage
(
EValueType Type, |
||
| FValueComponent | GetComponent
(
int32 Index |
||
| int32 | |||
| const FType & | GetType () |
||
| bool | IsZero () |
||
| const TCHAR * | ToString
(
EValueStringFormat Format, |