![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PreshaderTypes.h>
Public Member Functions | |
| FPreshaderType ()=default | |
| FPreshaderType (const FType &InType) | |
| FPreshaderType (EValueType InType) | |
| bool | IsStruct () const |
| int32 | GetNumComponents () const |
| EValueComponentType | GetComponentType (int32 Index) const |
Public Attributes | |
| uint64 | StructTypeHash = 0u |
| TArrayView< const EValueComponentType > | StructComponentTypes |
| EValueType | ValueType = EValueType::Void |
Mirrors Shader::FType, but stores StructType as a hash rather than a pointer to facilitate serialization Struct's flattened component types are stored directly, as that is the primary thing needed at runtime
|
default |
| UE::Shader::FPreshaderType::FPreshaderType | ( | const FType & | InType | ) |
| UE::Shader::FPreshaderType::FPreshaderType | ( | EValueType | InType | ) |
| EValueComponentType UE::Shader::FPreshaderType::GetComponentType | ( | int32 | Index | ) | const |
|
inline |
|
inline |
| TArrayView<const EValueComponentType> UE::Shader::FPreshaderType::StructComponentTypes |
| uint64 UE::Shader::FPreshaderType::StructTypeHash = 0u |
| EValueType UE::Shader::FPreshaderType::ValueType = EValueType::Void |