48 check(Values.Num() == 0);
49 check(Components.Num() == 0);
69 return &Components[Components.Num() - NumComponents];
78 check(!Values.Last().IsStruct());
79 Values.Last().ValueType = ValueType;
87 Values.Last().ValueType = ValueType;
#define check(expr)
Definition AssertionMacros.h:314
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32 Offset
Definition VulkanMemory.cpp:4033
Definition ArrayView.h:139
UE_FORCEINLINE_HINT constexpr SizeType Num() const
Definition ArrayView.h:380
Definition PreshaderTypes.h:42
void MergeTopTwoValues(EValueType ValueType, int32 ComponentsConsumed)
Definition PreshaderTypes.h:83
int32 Num() const
Definition PreshaderTypes.h:44
void PopResult(FPreshaderValue &OutValue)
Definition Preshader.cpp:171
TArrayView< FValueComponent > PushEmptyValue(const FPreshaderType &InType)
Definition Preshader.cpp:141
FPreshaderValue PopValue()
Definition Preshader.cpp:157
void Reset()
Definition PreshaderTypes.h:103
FValueComponent * PeekComponents(int32 NumComponents)
Definition PreshaderTypes.h:67
void OverrideTopType(EValueType ValueType)
Definition PreshaderTypes.h:76
FPreshaderValue PeekValue(int32 Offset=0)
Definition Preshader.cpp:187
void CheckEmpty() const
Definition PreshaderTypes.h:46
void AdjustComponentCount(int32 NumComponentChange)
Definition PreshaderTypes.h:91
const FPreshaderType & PeekType()
Definition PreshaderTypes.h:63
Definition ShaderTypes.h:297
EValueType
Definition ShaderTypes.h:94
EValueComponentType
Definition ShaderTypes.h:56
const FValueTypeDescription & GetValueTypeDescription(EValueType Type)
Definition ShaderValue.cpp:66
Definition AdvancedWidgetsModule.cpp:13
U16 Index
Definition radfft.cpp:71
Definition PreshaderTypes.h:17
EValueComponentType GetComponentType(int32 Index) const
Definition Preshader.cpp:107
uint64 StructTypeHash
Definition PreshaderTypes.h:26
TArrayView< const EValueComponentType > StructComponentTypes
Definition PreshaderTypes.h:27
int32 GetNumComponents() const
Definition PreshaderTypes.h:23
bool IsStruct() const
Definition PreshaderTypes.h:22
EValueType ValueType
Definition PreshaderTypes.h:28
Definition PreshaderTypes.h:33
FPreshaderType Type
Definition PreshaderTypes.h:34
FValue AsShaderValue(const FStructTypeRegistry *TypeRegistry=nullptr) const
Definition Preshader.cpp:205
TArrayView< FValueComponent > Component
Definition PreshaderTypes.h:35
Definition ShaderTypes.h:181
int8 NumComponents
Definition ShaderTypes.h:147
Definition ShaderTypes.h:368
Definition ShaderTypes.h:343