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
namespace UE
{
namespace Shader
{
enum EValueType
{
Void,
Float1,
Float2,
Float3,
Float4,
Double1,
Double2,
Double3,
Double4,
Int1,
Int2,
Int3,
Int4,
Bool1,
Bool2,
Bool3,
Bool4,
Numeric1,
Numeric2,
Numeric3,
Numeric4,
Float4x4,
Double4x4,
DoubleInverse4x4,
Numeric4x4,
Struct,
Object,
Any,
Num,
}
}
}
Values
Name |
Description |
Void |
|
Float1 |
|
Float2 |
|
Float3 |
|
Float4 |
|
Double1 |
|
Double2 |
|
Double3 |
|
Double4 |
|
Int1 |
|
Int2 |
|
Int3 |
|
Int4 |
|
Bool1 |
|
Bool2 |
|
Bool3 |
|
Bool4 |
|
Numeric1 |
Any scalar/vector type. |
Numeric2 |
|
Numeric3 |
|
Numeric4 |
|
Float4x4 |
Float4x4 |
Double4x4 |
Both of these are double4x4 on CPU On GPU, they map to FDFMatrix and FDFInverseMatrix |
DoubleInverse4x4 |
|
Numeric4x4 |
Any matrix type. |
Struct |
|
Object |
|
Any |
|
Num |
|