Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FPreshaderStack |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Shader/PreshaderTypes.h |
| Include Path | #include "Shader/PreshaderTypes.h" |
Syntax
class FPreshaderStack
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Components | TArray< FValueComponent, TNonRelocatableInlineAllocator< 64 > > | Shader/PreshaderTypes.h | ||
| Values | TArray< FPreshaderType, TNonRelocatableInlineAllocator< 8 > > | Shader/PreshaderTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AdjustComponentCount
(
int32 NumComponentChange |
Adjust component count, by adding or removing components by the specified amount. | Shader/PreshaderTypes.h | |
void CheckEmpty() |
Shader/PreshaderTypes.h | ||
void MergeTopTwoValues
(
EValueType ValueType, |
Merge top two values (after an in place binary operation) | Shader/PreshaderTypes.h | |
int32 Num() |
Shader/PreshaderTypes.h | ||
void OverrideTopType
(
EValueType ValueType |
Override top value type (after an in place unary operation) | Shader/PreshaderTypes.h | |
FValueComponent * PeekComponents
(
int32 NumComponents |
Shader/PreshaderTypes.h | ||
const FPreshaderType & PeekType() |
Utility functions used for in-place swizzle operation | Shader/PreshaderTypes.h | |
FPreshaderValue PeekValue
(
int32 Offset |
Shader/PreshaderTypes.h | ||
void PopResult
(
FPreshaderValue& OutValue |
Pops the final result from the stack, with reduced overhead relative to PopValue must be zero or one items left! | Shader/PreshaderTypes.h | |
FPreshaderValue PopValue() |
Returned values are invalidated when anything is pushed onto the stack | Shader/PreshaderTypes.h | |
TArrayView< FValueComponent > PushEmptyValue
(
const FPreshaderType& InType |
Shader/PreshaderTypes.h | ||
FValueComponent * PushEmptyValue
(
EValueType InType, |
Shader/PreshaderTypes.h | ||
| Shader/PreshaderTypes.h | |||
void PushValue
(
const FPreshaderValue& InValue |
Shader/PreshaderTypes.h | ||
void PushValue
(
const FPreshaderType& InType, |
Shader/PreshaderTypes.h | ||
void Reset() |
Shader/PreshaderTypes.h |