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