A proxy for the material compiler interface which by default passes all function calls unmodified. 更多...
#include <MaterialCompiler.h>
类 FProxyMaterialCompiler 继承关系图:Public 成员函数 | |
| virtual const FGuid | GetMaterialAttribute () override |
| Gets the current top of the MaterialAttributes property stack. | |
| virtual FMaterialFunctionCompileState * | PopFunction () override |
| Pops a function from the compiler's function stack, which indicates that compilation is leaving a function. | |
| virtual FGuid | PopMaterialAttribute () override |
| Pops a MaterialAttributes property off the stack. 更多... | |
| virtual FMaterialParameterInfo | PopParameterOwner () override |
| Pops a parameter owner off the stack. 更多... | |
| virtual void | PushFunction (FMaterialFunctionCompileState *FunctionState) override |
| Pushes a function onto the compiler's function stack, which indicates that compilation is entering a function. | |
| virtual void | PushMaterialAttribute (const FGuid &InAttributeID) override |
| Pushes a material attributes property onto the stack. 更多... | |
| virtual void | PushParameterOwner (const FMaterialParameterInfo &InOwnerInfo) override |
| Pushes a parameter owner onto the stack. 更多... | |
| virtual void | SetBaseMaterialAttribute (const FGuid &InAttributeID) override |
| Sets the bottom MaterialAttributes property of the stack. | |
| virtual int32 | ValidCast (int32 Code, EMaterialValueType DestType) override |
| Casts the passed in code to DestType, or generates a compile error if the cast is not valid. 更多... | |
| 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. 更多... | |
A proxy for the material compiler interface which by default passes all function calls unmodified.
Note: Any functions of FMaterialCompiler that change the internal compiler state must be routed!
|
inlineoverridevirtual |
Pops a MaterialAttributes property off the stack.
Called as we finish compiling a property through a MaterialAttributes pin.
实现了 FMaterialCompiler.
|
inlineoverridevirtual |
Pops a parameter owner off the stack.
Called as we finish compiling each layer function of MaterialAttributeLayers.
实现了 FMaterialCompiler.
|
inlineoverridevirtual |
Pushes a material attributes property onto the stack.
Called as we begin compiling a property through a MaterialAttributes pin.
实现了 FMaterialCompiler.
|
inlineoverridevirtual |
Pushes a parameter owner onto the stack.
Called as we begin compiling each layer function of MaterialAttributeLayers.
实现了 FMaterialCompiler.
|
inlineoverridevirtual |
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.
实现了 FMaterialCompiler.