Inheritance diagram for Mezzanine::Graphics::Procedural::VertexNormalsModifier:
Collaboration diagram for Mezzanine::Graphics::Procedural::VertexNormalsModifier:Public Types | |
| enum | ComputeMode { CM_Vertex = 1, CM_Triangle = 2 } |
| An enum used to determine how normals are calculated. More... | |
Public Member Functions | |
| VertexNormalsModifier () | |
| Blank constructor. | |
| virtual | ~VertexNormalsModifier () |
| Class destructor. | |
| virtual String | GetName () const |
| Gets the name of this modifier. More... | |
| virtual void | Modify (TriangleBuffer &Buffer) |
| Alters the generated pixels in a TriangleBuffer. More... | |
| VertexNormalsModifier & | SetComputerMode (const VertexNormalsModifier::ComputeMode Mode) |
| Sets how the normals for each vertex is to be calculated. More... | |
Public Member Functions inherited from Mezzanine::Graphics::Procedural::MeshModifier | |
| MeshModifier () | |
| Blank constructor. | |
| virtual | ~MeshModifier () |
| Class destructor. | |
Protected Attributes | |
| ComputeMode | Compute |
| The mode in which normals are calculated for each vertex. More... | |
Definition at line 82 of file vertexnormalsmodifier.h.
An enum used to determine how normals are calculated.
Definition at line 86 of file vertexnormalsmodifier.h.
|
virtual |
Gets the name of this modifier.
Implements Mezzanine::Graphics::Procedural::MeshModifier.
Definition at line 129 of file vertexnormalsmodifier.cpp.
|
virtual |
Alters the generated pixels in a TriangleBuffer.
| Buffer | The buffer to be modified. |
Implements Mezzanine::Graphics::Procedural::MeshModifier.
Definition at line 88 of file vertexnormalsmodifier.cpp.
| VertexNormalsModifier & Mezzanine::Graphics::Procedural::VertexNormalsModifier::SetComputerMode | ( | const VertexNormalsModifier::ComputeMode | Mode | ) |
Sets how the normals for each vertex is to be calculated.
| Mode | The mode in which normals are calculated for each vertex. |
Definition at line 135 of file vertexnormalsmodifier.cpp.
|
protected |
The mode in which normals are calculated for each vertex.
Definition at line 94 of file vertexnormalsmodifier.h.
1.8.9.1. Thanks to the
Open Icon Library
for help with some of the icons.