public | abstract |
Inheritance Graph
graph BT
NormalAttributeAccessor
NormalAttributeAccessor --> VertexAttributeAccessor
click NormalAttributeAccessor "classRendering_1_1NormalAttributeAccessor"
click VertexAttributeAccessor "classRendering_1_1VertexAttributeAccessor"
Description
NormalAttributeAccessor | > VertexAttributeAccessor Abstract accessor for vertex normals (or tangents etc.) |
Protected Functions
NormalAttributeAccessor( MeshVertexData & _vData, const VertexAttribute & _attribute) |
Public Static Functions
Util::Reference < NormalAttributeAccessor > | create( MeshVertexData & _vData, Util::StringIdentifier name) |
Public Functions
~NormalAttributeAccessor() | |
Geometry::Vec3 | getNormal(uint32_t index) const |
void | setNormal(uint32_t index, const Geometry::Vec3 & vec) |
Documentation
function
Rendering::NormalAttributeAccessor::NormalAttributeAccessor
protected | inline |
NormalAttributeAccessor( | MeshVertexData & | _vData, |
const VertexAttribute & | _attribute | |
) |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:93
function
Rendering::NormalAttributeAccessor::create
public | static |
Util::Reference < NormalAttributeAccessor > create( | MeshVertexData & | _vData, |
Util::StringIdentifier | name | |
) |
(static factory) Create a NormalAttributeAccessor for the given MeshVertexData ‘s attribute having the given name. If no Accessor can be created, an std::invalid_argument exception is thrown.
Defined in Rendering/Mesh/VertexAttributeAccessors.h:99
function
Rendering::NormalAttributeAccessor::~NormalAttributeAccessor
public | inline | virtual |
~NormalAttributeAccessor( | ) |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:101
function
Rendering::NormalAttributeAccessor::getNormal
public | const | virtual |
Geometry::Vec3 getNormal( | uint32_t | index ) const |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:103
function
Rendering::NormalAttributeAccessor::setNormal
public | virtual |
void setNormal( | uint32_t | index, |
const Geometry::Vec3 & | vec | |
) |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:104