Skip to content
On this page

class MaterialEvaluationShaderDefine

MaterialEvaluationShaderDefine are used to setup shader preprocessor define in the generated compute shader.

Properties

PropertyDescription
NameThe name of the MaterialEvaluationShaderDefine object. (Inherited from Object)
ValueThe preprocessor define value. Will be used verbatim if set.

Methods

MethodDescription
AddObserverAdds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
GetClassGet the name of the MaterialEvaluationShaderDefine class. (Inherited from Object)
IsAReturns true if MaterialEvaluationShaderDefine is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the MaterialEvaluationShaderDefine object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the MaterialEvaluationShaderDefine object is valid. (Inherited from Object)
NonNullReturns true if the MaterialEvaluationShaderDefine object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the MaterialEvaluationShaderDefine object to the log. (Inherited from Object)
RemoveObserverRemoves a previously added observer object. (Inherited from Object)

Static methods

MethodDescription
IsClassAReturns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCastSafeCast makes sure the input object is of a class that can be cast into spMaterialEvaluationShaderDefine, and if this is the case, returns the object cast into spMaterialEvaluationShaderDefine. (Inherited from Object)

Properties details

Name

The name of the MaterialEvaluationShaderDefine object. (Inherited from Object)

Value

The preprocessor define value. Will be used verbatim if set.

Methods details

AddObserver

Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)

GetClass

Get the name of the MaterialEvaluationShaderDefine class. (Inherited from Object)

IsA

Returns true if MaterialEvaluationShaderDefine is a or is a descendant of the class named as the type parameter. (Inherited from Object)

IsNull

Returns true if the MaterialEvaluationShaderDefine object is invalid. (Inherited from Object)

IsSameObjectAs

Returns true if the MaterialEvaluationShaderDefine object is valid. (Inherited from Object)

NonNull

Returns true if the MaterialEvaluationShaderDefine object is valid. (Inherited from Object)

PrintInfo

Prints the content/info of the MaterialEvaluationShaderDefine object to the log. (Inherited from Object)

RemoveObserver

Removes a previously added observer object. (Inherited from Object)

Static methods details

IsClassA

Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)

SafeCast

SafeCast makes sure the input object is of a class that can be cast into spMaterialEvaluationShaderDefine, and if this is the case, returns the object cast into spMaterialEvaluationShaderDefine. (Inherited from Object)