Directional light. More...
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) |
Directional light.
Derm.Render.StdDirectionalLight.StdDirectionalLight | ( | ) |
Derm.Render.StdDirectionalLight.StdDirectionalLight | ( | ColorRGBAf | c, | |
Vertex3f | dir | |||
) |
Derm.Render.StdDirectionalLight.StdDirectionalLight | ( | ColorRGBAf | a, | |
ColorRGBAf | d, | |||
ColorRGBAf | s, | |||
Vertex3f | dir | |||
) |
override void Derm.Render.StdDirectionalLight.SetupLight | ( | RenderContext | ctx, | |
ShaderProgram | sProgram, | |||
string | uName, | |||
int | index | |||
) | [protected, virtual] |
ctx | ||
sProgram | ||
uName | ||
index |
Reimplemented from Derm.Render.StdLight.