The interface used to translate material expressions into executable code. 更多...
#include <MaterialCompiler.h>
类 FMaterialCompiler 继承关系图:Public 成员函数 | |
| virtual const FGuid | GetMaterialAttribute ()=0 |
| Gets the current top of the MaterialAttributes property stack. | |
| virtual FMaterialFunctionCompileState * | PopFunction ()=0 |
| Pops a function from the compiler's function stack, which indicates that compilation is leaving a function. | |
| virtual FGuid | PopMaterialAttribute ()=0 |
| Pops a MaterialAttributes property off the stack. 更多... | |
| virtual FMaterialParameterInfo | PopParameterOwner ()=0 |
| Pops a parameter owner off the stack. 更多... | |
| virtual void | PushFunction (FMaterialFunctionCompileState *FunctionState)=0 |
| Pushes a function onto the compiler's function stack, which indicates that compilation is entering a function. | |
| virtual void | PushMaterialAttribute (const FGuid &InAttributeID)=0 |
| Pushes a material attributes property onto the stack. 更多... | |
| virtual void | PushParameterOwner (const FMaterialParameterInfo &InOwnerInfo)=0 |
| Pushes a parameter owner onto the stack. 更多... | |
| virtual void | SetBaseMaterialAttribute (const FGuid &InAttributeID)=0 |
| Sets the bottom MaterialAttributes property of the stack. | |
| virtual int32 | ValidCast (int32 Code, EMaterialValueType DestType)=0 |
| Casts the passed in code to DestType, or generates a compile error if the cast is not valid. 更多... | |
The interface used to translate material expressions into executable code.
Note: Most member functions should be pure virtual to force a FProxyMaterialCompiler override!
|
pure virtual |
Pops a MaterialAttributes property off the stack.
Called as we finish compiling a property through a MaterialAttributes pin.
在 FProxyMaterialCompiler 内被实现.
|
pure virtual |
Pops a parameter owner off the stack.
Called as we finish compiling each layer function of MaterialAttributeLayers.
在 FProxyMaterialCompiler 内被实现.
|
pure virtual |
Pushes a material attributes property onto the stack.
Called as we begin compiling a property through a MaterialAttributes pin.
在 FProxyMaterialCompiler 内被实现.
|
pure virtual |
Pushes a parameter owner onto the stack.
Called as we begin compiling each layer function of MaterialAttributeLayers.
在 FProxyMaterialCompiler 内被实现.
|
pure virtual |
Casts the passed in code to DestType, or generates a compile error if the cast is not valid.
This will truncate a type (float4 -> float3) but not add components (float2 -> float3), however a float1 can be cast to any float type by replication.
在 FProxyMaterialCompiler 内被实现.