Class StandardShaderHelper
Inheritance
StandardShaderHelper
Syntax
public static class StandardShaderHelper
Methods
ComputeFlagsAndKeywords(Material)
Declaration
public static void ComputeFlagsAndKeywords(Material material)
Parameters
ComputeMaterial(SyncedData<SyncMaterial>, Material, ITextureCache)
Declaration
public static void ComputeMaterial(SyncedData<SyncMaterial> syncedMaterial, Material material, ITextureCache textureCache)
Parameters
GetShader(SyncMaterial)
Declaration
public static Shader GetShader(SyncMaterial syncMaterial)
Parameters
Type |
Name |
Description |
SyncMaterial |
syncMaterial |
|
Returns
GetShader(Boolean)
Declaration
public static Shader GetShader(bool isTransparent)
Parameters
Type |
Name |
Description |
Boolean |
isTransparent |
|
Returns
IsTransparent(SyncMaterial)
Declaration
public static bool IsTransparent(SyncMaterial syncMaterial)
Parameters
Type |
Name |
Description |
SyncMaterial |
syncMaterial |
|
Returns