Represents a family of shaders. Globally cached to minimise memory usage.
Public Member Functions | |
Shader | GetShader (int flags) |
Gets a particular variant of this shader. More... | |
Static Public Member Functions | |
static ShaderSet | Get (string name) |
Gets a shader set by name. More... | |
Public Attributes | |
string | Name |
The name of this shader set. More... | |
Static Public Attributes | |
static Dictionary< string, ShaderSet > | GlobalCache |
The cache of shader sets. More... | |
Properties | |
static ShaderSet | Standard [get] |
The standard shader set. More... | |
Shader | Isolated [get] |
Gets the isolated shader. More... | |
Private Member Functions | |
ShaderSet (string name) | |
Creates the shader set for the given family name. More... | |
Private Attributes | |
Shader | CachedIsolated |
The isolated shader. More... | |
Static Private Attributes | |
static ShaderSet | CachedStandard |
The standard shader set. Use Standard instead. More... | |
|
inlineprivate |
Creates the shader set for the given family name.
|
inlinestatic |
Gets a shader set by name.
|
inline |
Gets a particular variant of this shader.
|
private |
The isolated shader.
|
staticprivate |
The standard shader set. Use Standard instead.
|
static |
The cache of shader sets.
string PowerUI.ShaderSet.Name |
The name of this shader set.
|
get |
Gets the isolated shader.
|
staticget |
The standard shader set.