public

Inheritance Graph

graph BT
	VertexAttributeAccessor
	VertexAttributeAccessor --> ReferenceCounter
	ColorAttributeAccessor --> VertexAttributeAccessor
	FloatAttributeAccessor --> VertexAttributeAccessor
	NormalAttributeAccessor --> VertexAttributeAccessor
	PositionAttributeAccessor --> VertexAttributeAccessor
	TexCoordAttributeAccessor --> VertexAttributeAccessor
	UIntAttributeAccessor --> VertexAttributeAccessor
	click VertexAttributeAccessor "classRendering_1_1VertexAttributeAccessor"
	click ReferenceCounter "classUtil_1_1ReferenceCounter"
	click ColorAttributeAccessor "classRendering_1_1ColorAttributeAccessor"
	click FloatAttributeAccessor "classRendering_1_1FloatAttributeAccessor"
	click NormalAttributeAccessor "classRendering_1_1NormalAttributeAccessor"
	click PositionAttributeAccessor "classRendering_1_1PositionAttributeAccessor"
	click TexCoordAttributeAccessor "classRendering_1_1TexCoordAttributeAccessor"
	click UIntAttributeAccessor "classRendering_1_1UIntAttributeAccessor"

Description

Base class of all VertexAttributeAccessor-classes.

Note: A VertexAttributeAccessor only stays valid as long as the referenced MeshVertexData is not altered externally!

Protected Functions

   
   
  VertexAttributeAccessor( MeshVertexData & _vData, VertexAttribute _attribute)
   
void assertRange(uint32_t index) const
   
void assertNumValues(uint32_t index, uint32_t count) const

Public Functions

   
   
  ~VertexAttributeAccessor()
   
bool checkRange(uint32_t index) const
   
const VertexAttribute & getAttribute() const
template< typename number_t >  
number_t * _ptr(uint32_t index) const

Documentation

function
Rendering::VertexAttributeAccessor::VertexAttributeAccessor

protected inline
     
     
VertexAttributeAccessor( MeshVertexData & _vData,
  VertexAttribute _attribute
)    

Defined in Rendering/Mesh/VertexAttributeAccessors.h:43


function
Rendering::VertexAttributeAccessor::assertRange

protected const inline
     
     
void assertRange( uint32_t index ) const

Defined in Rendering/Mesh/VertexAttributeAccessors.h:48


function
Rendering::VertexAttributeAccessor::assertNumValues

protected const
     
     
void assertNumValues( uint32_t index,
  uint32_t count
) const    

Defined in Rendering/Mesh/VertexAttributeAccessors.h:49


function
Rendering::VertexAttributeAccessor::~VertexAttributeAccessor

public inline virtual
   
   
~VertexAttributeAccessor( )

Defined in Rendering/Mesh/VertexAttributeAccessors.h:51


function
Rendering::VertexAttributeAccessor::checkRange

public const inline
     
     
bool checkRange( uint32_t index ) const

Defined in Rendering/Mesh/VertexAttributeAccessors.h:53


function
Rendering::VertexAttributeAccessor::getAttribute

public const inline
   
   
const VertexAttribute & getAttribute( ) const

Defined in Rendering/Mesh/VertexAttributeAccessors.h:54


function
Rendering::VertexAttributeAccessor::_ptr

public const inline
     
template< typename number_t >    
number_t * _ptr( uint32_t index ) const

Defined in Rendering/Mesh/VertexAttributeAccessors.h:57