public

Inheritance Graph

graph BT
	TexCoordAttributeAccessor
	TexCoordAttributeAccessor --> VertexAttributeAccessor
	click TexCoordAttributeAccessor "classRendering_1_1TexCoordAttributeAccessor"
	click VertexAttributeAccessor "classRendering_1_1VertexAttributeAccessor"

Description

TexCoordAttributeAccessor |> VertexAttributeAccessor Abstract accessor for texture coordinates.

Note: If someday something else than vec2f is used for storing texture coordinates, this has to be implemented using new subclasses!

Protected Functions

   
   
  TexCoordAttributeAccessor( MeshVertexData & _vData, const VertexAttribute & _attribute)

Public Static Functions

   
   
Util::Reference < TexCoordAttributeAccessor > create( MeshVertexData & _vData, Util::StringIdentifier name)

Public Functions

   
   
  ~TexCoordAttributeAccessor()
   
const Geometry::Vec2 getCoordinate(uint32_t index) const
   
void setCoordinate(uint32_t index, const Geometry::Vec2 & p)

Documentation

function
Rendering::TexCoordAttributeAccessor::TexCoordAttributeAccessor

protected inline
     
     
TexCoordAttributeAccessor( MeshVertexData & _vData,
  const VertexAttribute & _attribute
)    

Defined in Rendering/Mesh/VertexAttributeAccessors.h:137


function
Rendering::TexCoordAttributeAccessor::create

public static
     
     
Util::Reference < TexCoordAttributeAccessor > create( MeshVertexData & _vData,
  Util::StringIdentifier name
)    

(static factory) Create a TexCoordAttributeAccessor 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:144


function
Rendering::TexCoordAttributeAccessor::~TexCoordAttributeAccessor

public inline virtual
   
   
~TexCoordAttributeAccessor( )

Defined in Rendering/Mesh/VertexAttributeAccessors.h:146


function
Rendering::TexCoordAttributeAccessor::getCoordinate

public const inline
     
     
const Geometry::Vec2 getCoordinate( uint32_t index ) const

Defined in Rendering/Mesh/VertexAttributeAccessors.h:148


function
Rendering::TexCoordAttributeAccessor::setCoordinate

public inline
     
     
void setCoordinate( uint32_t index,
  const Geometry::Vec2 & p
)    

Defined in Rendering/Mesh/VertexAttributeAccessors.h:154