Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages
iVertexLightCalculator Struct Reference
Interface to calculate lighting for a number of vertices. More...
#include <csgfx/vertexlight.h>
Inheritance diagram for iVertexLightCalculator:

Public Member Functions | |
virtual void | CalculateLighting (const csLightProperties &light, size_t numvert, csVertexListWalker< csVector3 > vb, csVertexListWalker< csVector3 > nb, csColor *litColor) const =0 |
Compute lighting, overwrite the destination colors. | |
virtual void | CalculateLightingAdd (const csLightProperties &light, size_t numvert, csVertexListWalker< csVector3 > vb, csVertexListWalker< csVector3 > nb, csColor *litColor) const =0 |
Compute lighting, add lit colors to the destination colors. | |
virtual void | CalculateLightingMul (const csLightProperties &light, size_t numvert, csVertexListWalker< csVector3 > vb, csVertexListWalker< csVector3 > nb, csColor *litColor) const =0 |
Compute lighting, multiply lit colors with destination colors. |
Detailed Description
Interface to calculate lighting for a number of vertices.
Definition at line 338 of file vertexlight.h.
Member Function Documentation
|
Compute lighting, overwrite the destination colors.
Implemented in csVertexLightCalculator< LightProc >. |
|
Compute lighting, add lit colors to the destination colors.
Implemented in csVertexLightCalculator< LightProc >. |
|
Compute lighting, multiply lit colors with destination colors.
Implemented in csVertexLightCalculator< LightProc >. |
The documentation for this struct was generated from the following file:
- csgfx/vertexlight.h
Generated for Crystal Space by doxygen 1.4.4