Representation of shader resource in Mono domain No means of shader copying is provided in this interface so all the accessor properties are read only
Inherits TaleWorlds.Engine.Resource.
◆ GetFromResource()
static Shader TaleWorlds.Engine.Shader.GetFromResource |
( |
string |
shaderName | ) |
|
|
static |
- Parameters
-
shaderName | The name of the shader to be retrieved |
- Returns
Returns the Mono representation of the shader whose name is 'shaderName' Returns the previously retrieved instance. A new instance is created if there is none previously or its has been GCed.
If there is a shader named 'shaderName' then returns a valid MBShader object. Otherwise returns null.
◆ GetMaterialShaderFlagMask()
UInt64 TaleWorlds.Engine.Shader.GetMaterialShaderFlagMask |
( |
string |
flagName, |
|
|
bool |
showErrors = true |
|
) |
| |
◆ Name
string TaleWorlds.Engine.Shader.Name |
|
get |