Used to store shading information about a particular element.
Public Member Functions | |
| bool | GetFlag (int flag) |
| Is the given flag set? More... | |
| void | SetFlag (int flag, bool value) |
| Set the given flag. More... | |
| void | UpdateShader () |
| Updates the shader to use. More... | |
| void | Optimise () |
| Checks if this shader data is no longer in use and removes it if it isn't. More... | |
Public Attributes | |
| int | Flags |
| The raw flags for this shader data. Used to describe what shader features it requires. More... | |
| Shader | Shader |
| The cached shader to actually use. More... | |
| Element | Element |
| The element that this is some shading data for. More... | |
| ShaderSet | Shaders |
| The shader family in use. If null, the StandardUI shaders are used. More... | |
| ShadowData | TextShadow |
| The shadow for the text, if there is one. More... | |
| StrokeData | TextStroke |
| The stroke for the text, if there is one. More... | |
Properties | |
| bool | Lit [get, set] |
| Is this element lit or not? More... | |
| bool | TangentsRequired [get] |
| Is the tangent block required? More... | |
| Shader | IsolatedShader [get] |
| The isolation shader to use. More... | |
Private Member Functions | |
| void | Remove () |
| Removes this shader data from the parent element. Use Optimise to check if it requires removing. More... | |
|
inline |
Is the given flag set?
|
inline |
Checks if this shader data is no longer in use and removes it if it isn't.
|
inlineprivate |
Removes this shader data from the parent element. Use Optimise to check if it requires removing.
|
inline |
Set the given flag.
|
inline |
Updates the shader to use.
| Element PowerUI.Css.ShaderData.Element |
The element that this is some shading data for.
| int PowerUI.Css.ShaderData.Flags |
The raw flags for this shader data. Used to describe what shader features it requires.
| Shader PowerUI.Css.ShaderData.Shader |
The cached shader to actually use.
| ShaderSet PowerUI.Css.ShaderData.Shaders |
The shader family in use. If null, the StandardUI shaders are used.
| ShadowData PowerUI.Css.ShaderData.TextShadow |
The shadow for the text, if there is one.
| StrokeData PowerUI.Css.ShaderData.TextStroke |
The stroke for the text, if there is one.
|
get |
The isolation shader to use.
|
getset |
Is this element lit or not?
|
get |
Is the tangent block required?