Specifies a fragment shader for the tagged class. This attribute is applied to a class. Multiple FragmentShaderAttributes may be applied to a single class.
More...
|
| string | ShaderPath [get, set] |
| | The path to the shader file More...
|
| |
| bool | IsResource [get, set] |
| | If true, indicates that the shader file is compiled as an embedded resource More...
|
| |
Specifies a fragment shader for the tagged class. This attribute is applied to a class. Multiple FragmentShaderAttributes may be applied to a single class.
| Durwella.Unplugged.Viz.FragmentShaderAttribute.FragmentShaderAttribute |
( |
string |
shaderPath, |
|
|
bool |
isResource = false |
|
) |
| |
Initializes a new instance of the FragmentShaderAttribute class.
- Parameters
-
| shaderPath | The path to the shader file |
| isResource | If true, indicates that the shader file is compiled as an embedded resource |
| Durwella.Unplugged.Viz.FragmentShaderAttribute.FragmentShaderAttribute |
( |
CommonFragmentShader |
commonShader | ) |
|
The documentation for this class was generated from the following file:
- FragmentShaderAttribute.cs