Unplugged Viz
High-performance scientific visualization isn't just for the workstation anymore
Durwella.Unplugged.Viz.FragmentShaderAttribute Class Reference

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...

Public Member Functions

 FragmentShaderAttribute (string shaderPath, bool isResource=false)
 Initializes a new instance of the FragmentShaderAttribute class. More...
 
 FragmentShaderAttribute (CommonFragmentShader commonShader)
 Initializes a new instance of the FragmentShaderAttribute class. More...
 

Additional Inherited Members

- Properties inherited from Durwella.Unplugged.Viz.ShaderFileAttribute
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...
 

Detailed Description

Specifies a fragment shader for the tagged class. This attribute is applied to a class. Multiple FragmentShaderAttributes may be applied to a single class.

Inheritance diagram for Durwella.Unplugged.Viz.FragmentShaderAttribute:
Durwella.Unplugged.Viz.ShaderFileAttribute

Constructor & Destructor Documentation

Durwella.Unplugged.Viz.FragmentShaderAttribute.FragmentShaderAttribute ( string  shaderPath,
bool  isResource = false 
)

Initializes a new instance of the FragmentShaderAttribute class.

Parameters
shaderPathThe path to the shader file
isResourceIf true, indicates that the shader file is compiled as an embedded resource
Durwella.Unplugged.Viz.FragmentShaderAttribute.FragmentShaderAttribute ( CommonFragmentShader  commonShader)

Initializes a new instance of the FragmentShaderAttribute class.

Parameters
commonShaderThe CommonFragmentShader to use.

The documentation for this class was generated from the following file: