# class
MaterialEvaluationShader
MaterialEvaluationShader is used to setup information used during compute casting to aid in texture baking complicated shader graphs.
# Properties
Property | Description |
---|---|
MaterialEvaluationShaderAttributeTable | The material evaluation shader attributes. |
MaterialEvaluationShaderDefineTable | The material evaluation shader evaluation preprocessor defines. |
Name | The name of the MaterialEvaluationShader object. (Inherited from Object) |
ShaderCode | The user's block of the shader code. |
ShaderEvaluationFunctionTable | The material evaluation shader evaluation functions binding. |
ShaderLanguage | The shading language used by the evaluation shader. |
ShaderParameterTable | The material evaluation shader parameters. |
# Methods
Method | Description |
---|---|
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 MaterialEvaluationShader class. (Inherited from Object) |
HasShader | The method returns if a shader was loaded into memory. Use SetShaderFilePath to set the path only or use LoadShaderFromFilePath to load the shader file. |
IsA | Returns true if MaterialEvaluationShader is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
IsNull | Returns true if the MaterialEvaluationShader object is invalid. (Inherited from Object) |
IsSameObjectAs | Returns true if the MaterialEvaluationShader object is valid. (Inherited from Object) |
LoadShaderFromFilePath | This method load the shader source from disk into memory. If the load is successful HasShader method will return true and GetShaderFilePath will return null. |
NonNull | Returns true if the MaterialEvaluationShader object is valid. (Inherited from Object) |
PrintInfo | Prints the content/info of the MaterialEvaluationShader object to the log. (Inherited from Object) |
RemoveObserver | Removes a previously added observer object. (Inherited from Object) |
# Static methods
Method | Description |
---|---|
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 spMaterialEvaluationShader, and if this is the case, returns the object cast into spMaterialEvaluationShader. (Inherited from Object) |
# Properties details
# MaterialEvaluationShaderAttributeTable
The material evaluation shader attributes.
# MaterialEvaluationShaderDefineTable
The material evaluation shader evaluation preprocessor defines.
# Name
The name of the MaterialEvaluationShader object. (Inherited from Object)
# ShaderCode
The user's block of the shader code.
# ShaderEvaluationFunctionTable
The material evaluation shader evaluation functions binding.
# ShaderLanguage
The shading language used by the evaluation shader.
# ShaderParameterTable
The material evaluation shader parameters.
# 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 MaterialEvaluationShader class. (Inherited from Object)
# HasShader
The method returns if a shader was loaded into memory. Use SetShaderFilePath to set the path only or use LoadShaderFromFilePath to load the shader file.
# IsA
Returns true if MaterialEvaluationShader is a or is a descendant of the class named as the type parameter. (Inherited from Object)
# IsNull
Returns true if the MaterialEvaluationShader object is invalid. (Inherited from Object)
# IsSameObjectAs
Returns true if the MaterialEvaluationShader object is valid. (Inherited from Object)
# LoadShaderFromFilePath
This method load the shader source from disk into memory. If the load is successful HasShader method will return true and GetShaderFilePath will return null.
# NonNull
Returns true if the MaterialEvaluationShader object is valid. (Inherited from Object)
# PrintInfo
Prints the content/info of the MaterialEvaluationShader 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 spMaterialEvaluationShader, and if this is the case, returns the object cast into spMaterialEvaluationShader. (Inherited from Object)