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... | |
![]() | |
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.