public | abstract |
Inheritance Graph
Description
FloatAttributeAccessor | > VertexAttributeAccessor Accessor for generic float vertex attributes. |
Protected Functions
FloatAttributeAccessor( MeshVertexData & _vData, const VertexAttribute & _attribute) |
Public Static Functions
Util::Reference < FloatAttributeAccessor > | create( MeshVertexData & _vData, Util::StringIdentifier name) |
Public Functions
~FloatAttributeAccessor() | |
float | getValue(uint32_t index) const |
void | setValue(uint32_t index, float value) |
const std::vector< float > | getValues(uint32_t index) const |
void | setValues(uint32_t index, const float * values, uint32_t count) |
void | setValues(uint32_t index, const std::vector< float > & values) |
Documentation
function
Rendering::FloatAttributeAccessor::FloatAttributeAccessor
protected | inline |
FloatAttributeAccessor( | MeshVertexData & | _vData, |
const VertexAttribute & | _attribute | |
) |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:170
function
Rendering::FloatAttributeAccessor::create
public | static |
Util::Reference < FloatAttributeAccessor > create( | MeshVertexData & | _vData, |
Util::StringIdentifier | name | |
) |
(static factory) Create a FloatAttributeAccessor 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:176
function
Rendering::FloatAttributeAccessor::~FloatAttributeAccessor
public | inline | virtual |
~FloatAttributeAccessor( | ) |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:178
function
Rendering::FloatAttributeAccessor::getValue
public | const | virtual |
float getValue( | uint32_t | index ) const |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:180
function
Rendering::FloatAttributeAccessor::setValue
public | virtual |
void setValue( | uint32_t | index, |
float | value | |
) |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:182
function
Rendering::FloatAttributeAccessor::getValues
public | const | virtual |
const std::vector< float > getValues( | uint32_t | index ) const |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:184
function
Rendering::FloatAttributeAccessor::setValues
public | virtual |
void setValues( | uint32_t | index, |
const float * | values, | |
uint32_t | count | |
) |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:186
function
Rendering::FloatAttributeAccessor::setValues
public | inline |
void setValues( | uint32_t | index, |
const std::vector< float > & | values | |
) |
Defined in Rendering/Mesh/VertexAttributeAccessors.h:187