Navigation
API > API/Runtime > API/Runtime/Engine
Can store a numeric/struct shader value of any type Values are represented as a flat list of components
| Name | FValue |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Shader/ShaderTypes.h |
| Include Path | #include "Shader/ShaderTypes.h" |
Syntax
struct FValue
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FValue
(
const FVector4d& Value |
Shader/ShaderTypes.h | ||
FValue
(
bool v |
Shader/ShaderTypes.h | ||
FValue
(
int32 v |
Shader/ShaderTypes.h | ||
FValue
(
EValueComponentType InComponentType, |
Shader/ShaderTypes.h | ||
FValue
(
float X, |
Shader/ShaderTypes.h | ||
FValue
(
double X, |
Shader/ShaderTypes.h | ||
FValue
(
float X, |
Shader/ShaderTypes.h | ||
FValue
(
double X, |
Shader/ShaderTypes.h | ||
FValue
(
const FVector4f& Value |
Shader/ShaderTypes.h | ||
FValue
(
float X, |
Shader/ShaderTypes.h | ||
FValue
(
const FVector3d& Value |
Shader/ShaderTypes.h | ||
FValue
(
float v |
Shader/ShaderTypes.h | ||
FValue
(
const FVector2f& Value |
Shader/ShaderTypes.h | ||
FValue
(
const FLinearColor& Value |
Shader/ShaderTypes.h | ||
FValue
(
double v |
Shader/ShaderTypes.h | ||
FValue
(
double X, |
Shader/ShaderTypes.h | ||
| Shader/ShaderTypes.h | |||
FValue () |
Shader/ShaderTypes.h | ||
FValue
(
const FVector3f& Value |
Shader/ShaderTypes.h | ||
FValue
(
bool X, |
Shader/ShaderTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Component | TArray< FValueComponent, TInlineAllocator< 16 > > | Shader/ShaderTypes.h | ||
| Type | FType | Shader/ShaderTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBoolValue AsBool() |
Shader/ShaderTypes.h | ||
bool AsBoolScalar() |
Shader/ShaderTypes.h | ||
FDoubleValue AsDouble() |
Shader/ShaderTypes.h | ||
FFloatValue AsFloat() |
Shader/ShaderTypes.h | ||
float AsFloatScalar() |
Shader/ShaderTypes.h | ||
FIntValue AsInt() |
Shader/ShaderTypes.h | ||
FLinearColor AsLinearColor() |
Shader/ShaderTypes.h | ||
FMemoryImageValue AsMemoryImage() |
Shader/ShaderTypes.h | ||
FVector4d AsVector4d() |
Shader/ShaderTypes.h | ||
FValueComponent GetComponent
(
int32 Index |
Shader/ShaderTypes.h | ||
int32 GetNumComponents() |
Shader/ShaderTypes.h | ||
const FType & GetType() |
Shader/ShaderTypes.h | ||
bool IsZero() |
Shader/ShaderTypes.h | ||
const TCHAR * ToString
(
EValueStringFormat Format, |
Shader/ShaderTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FValue FromMemoryImage
(
EValueType Type, |
Shader/ShaderTypes.h |