Derm.Render.StdDirectionalLight Class Reference

Directional light. More...

Inheritance diagram for Derm.Render.StdDirectionalLight:
Derm.Render.StdLight Derm.Render.RenderGraphNode Derm.Util.DirectedGraphNode Derm.Render.IShaderState Derm.Render.INameable

List of all members.

Public Member Functions

 StdDirectionalLight (ColorRGBAf a, ColorRGBAf d, ColorRGBAf s, Vertex3f dir)
 StdDirectionalLight (ColorRGBAf c, Vertex3f dir)
 StdDirectionalLight ()

Protected Member Functions

override void SetupLight (RenderContext ctx, ShaderProgram sProgram, string uName, int index)

Detailed Description

Directional light.


Constructor & Destructor Documentation

Derm.Render.StdDirectionalLight.StdDirectionalLight (  ) 
Derm.Render.StdDirectionalLight.StdDirectionalLight ( ColorRGBAf  c,
Vertex3f  dir 
)
Derm.Render.StdDirectionalLight.StdDirectionalLight ( ColorRGBAf  a,
ColorRGBAf  d,
ColorRGBAf  s,
Vertex3f  dir 
)

Member Function Documentation

override void Derm.Render.StdDirectionalLight.SetupLight ( RenderContext  ctx,
ShaderProgram  sProgram,
string  uName,
int  index 
) [protected, virtual]
Parameters:
ctx 
sProgram 
uName 
index 

Reimplemented from Derm.Render.StdLight.



Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads