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

Specifies a vertex shader for the tagged class. This attribute is applied to a class. Multiple VertexShaderAttributes may be applied to a single class. More...

Public Member Functions

 VertexShaderAttribute (string shaderPath, bool isResource=false)
 Initializes a new instance of the VertexShaderAttribute class. More...
 
 VertexShaderAttribute (CommonVertexShader commonShader)
 Initializes a new instance of the VertexShaderAttribute 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 vertex shader for the tagged class. This attribute is applied to a class. Multiple VertexShaderAttributes may be applied to a single class.

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

Constructor & Destructor Documentation

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

Initializes a new instance of the VertexShaderAttribute class.

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

Initializes a new instance of the VertexShaderAttribute class.

Parameters
commonShaderThe CommonVertexShader to use.

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