engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FProxyMaterialCompiler类 参考

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!

成员函数说明

◆ PopMaterialAttribute()

virtual FGuid FProxyMaterialCompiler::PopMaterialAttribute ( )
inlineoverridevirtual

Pops a MaterialAttributes property off the stack.

Called as we finish compiling a property through a MaterialAttributes pin.

实现了 FMaterialCompiler.

◆ PopParameterOwner()

virtual FMaterialParameterInfo FProxyMaterialCompiler::PopParameterOwner ( )
inlineoverridevirtual

Pops a parameter owner off the stack.

Called as we finish compiling each layer function of MaterialAttributeLayers.

实现了 FMaterialCompiler.

◆ PushMaterialAttribute()

virtual void FProxyMaterialCompiler::PushMaterialAttribute ( const FGuid &  InAttributeID)
inlineoverridevirtual

Pushes a material attributes property onto the stack.

Called as we begin compiling a property through a MaterialAttributes pin.

实现了 FMaterialCompiler.

◆ PushParameterOwner()

virtual void FProxyMaterialCompiler::PushParameterOwner ( const FMaterialParameterInfo &  InOwnerInfo)
inlineoverridevirtual

Pushes a parameter owner onto the stack.

Called as we begin compiling each layer function of MaterialAttributeLayers.

实现了 FMaterialCompiler.

◆ ValidCast()

virtual int32 FProxyMaterialCompiler::ValidCast ( int32  Code,
EMaterialValueType  DestType 
)
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.


该类的文档由以下文件生成: