Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Abstract interface to manipulate OpenGL's vertex attribute arrays. More...
#include <IVertexAttribSet.hpp>
Public Member Functions | |
virtual void | setVertexArray (ArrayAbstract *data)=0 |
Conventional vertex array. | |
virtual const ArrayAbstract * | vertexArray () const =0 |
Conventional vertex array. | |
virtual ArrayAbstract * | vertexArray ()=0 |
Conventional vertex array. | |
virtual void | setNormalArray (ArrayAbstract *data)=0 |
Conventional normal array. | |
virtual const ArrayAbstract * | normalArray () const =0 |
Conventional normal array. | |
virtual ArrayAbstract * | normalArray ()=0 |
Conventional normal array. | |
virtual void | setColorArray (ArrayAbstract *data)=0 |
Conventional color array. | |
virtual const ArrayAbstract * | colorArray () const =0 |
Conventional color array. | |
virtual ArrayAbstract * | colorArray ()=0 |
Conventional color array. | |
virtual void | setSecondaryColorArray (ArrayAbstract *data)=0 |
Conventional secondary color array. | |
virtual const ArrayAbstract * | secondaryColorArray () const =0 |
Conventional secondary color array. | |
virtual ArrayAbstract * | secondaryColorArray ()=0 |
Conventional secondary color array. | |
virtual void | setFogCoordArray (ArrayAbstract *data)=0 |
Conventional fog array. | |
virtual const ArrayAbstract * | fogCoordArray () const =0 |
Conventional fog array. | |
virtual ArrayAbstract * | fogCoordArray ()=0 |
Conventional fog array. | |
virtual void | setTexCoordArray (int tex_unit, ArrayAbstract *data)=0 |
Conventional texture coords arrays. | |
virtual const ArrayAbstract * | texCoordArray (int tex_unit) const =0 |
Conventional texture coords arrays. | |
virtual ArrayAbstract * | texCoordArray (int tex_unit)=0 |
Conventional texture coords arrays. | |
virtual int | texCoordArrayCount () const =0 |
Number of texture coordinate arrays currently present. | |
virtual void | getTexCoordArrayAt (int i, int &out_tex_unit, const ArrayAbstract *&tex_array) const =0 |
Gets the i-th texture coordinate information, where i must be 0 <= i < texCoordArrayCount(). | |
virtual void | setVertexAttribArray (const VertexAttribInfo &info)=0 |
Binds a generic vertex attribute. | |
virtual const VertexAttribInfo * | vertexAttribArray (unsigned int attrib_location) const =0 |
Returns a generic vertex attribute's info. | |
virtual VertexAttribInfo * | vertexAttribArray (unsigned int attrib_location)=0 |
Returns a generic vertex attribute's info. | |
virtual Collection < VertexAttribInfo > * | vertexAttribArrays ()=0 |
The list of VertexAttribInfo objects bound to a Geometry. | |
virtual const Collection < VertexAttribInfo > * | vertexAttribArrays () const =0 |
The list of VertexAttribInfo objects bound to a Geometry. |
Abstract interface to manipulate OpenGL's vertex attribute arrays.
Definition at line 44 of file IVertexAttribSet.hpp.
virtual void vl::IVertexAttribSet::setVertexArray | ( | ArrayAbstract * | data ) | [pure virtual] |
Conventional vertex array.
Implemented in vl::Geometry.
virtual const ArrayAbstract* vl::IVertexAttribSet::vertexArray | ( | ) | const [pure virtual] |
virtual ArrayAbstract* vl::IVertexAttribSet::vertexArray | ( | ) | [pure virtual] |
Conventional vertex array.
Implemented in vl::Geometry.
virtual void vl::IVertexAttribSet::setNormalArray | ( | ArrayAbstract * | data ) | [pure virtual] |
Conventional normal array.
Implemented in vl::Geometry.
virtual const ArrayAbstract* vl::IVertexAttribSet::normalArray | ( | ) | const [pure virtual] |
virtual ArrayAbstract* vl::IVertexAttribSet::normalArray | ( | ) | [pure virtual] |
Conventional normal array.
Implemented in vl::Geometry.
virtual void vl::IVertexAttribSet::setColorArray | ( | ArrayAbstract * | data ) | [pure virtual] |
Conventional color array.
Implemented in vl::Geometry.
virtual const ArrayAbstract* vl::IVertexAttribSet::colorArray | ( | ) | const [pure virtual] |
virtual ArrayAbstract* vl::IVertexAttribSet::colorArray | ( | ) | [pure virtual] |
Conventional color array.
Implemented in vl::Geometry.
virtual void vl::IVertexAttribSet::setSecondaryColorArray | ( | ArrayAbstract * | data ) | [pure virtual] |
Conventional secondary color array.
Implemented in vl::Geometry.
virtual const ArrayAbstract* vl::IVertexAttribSet::secondaryColorArray | ( | ) | const [pure virtual] |
Conventional secondary color array.
Implemented in vl::Geometry.
Referenced by vl::OpenGLContext::bindVAS().
virtual ArrayAbstract* vl::IVertexAttribSet::secondaryColorArray | ( | ) | [pure virtual] |
Conventional secondary color array.
Implemented in vl::Geometry.
virtual void vl::IVertexAttribSet::setFogCoordArray | ( | ArrayAbstract * | data ) | [pure virtual] |
Conventional fog array.
Implemented in vl::Geometry.
virtual const ArrayAbstract* vl::IVertexAttribSet::fogCoordArray | ( | ) | const [pure virtual] |
virtual ArrayAbstract* vl::IVertexAttribSet::fogCoordArray | ( | ) | [pure virtual] |
Conventional fog array.
Implemented in vl::Geometry.
virtual void vl::IVertexAttribSet::setTexCoordArray | ( | int | tex_unit, |
ArrayAbstract * | data | ||
) | [pure virtual] |
Conventional texture coords arrays.
Implemented in vl::Geometry.
virtual const ArrayAbstract* vl::IVertexAttribSet::texCoordArray | ( | int | tex_unit ) | const [pure virtual] |
Conventional texture coords arrays.
Implemented in vl::Geometry.
virtual ArrayAbstract* vl::IVertexAttribSet::texCoordArray | ( | int | tex_unit ) | [pure virtual] |
Conventional texture coords arrays.
Implemented in vl::Geometry.
virtual int vl::IVertexAttribSet::texCoordArrayCount | ( | ) | const [pure virtual] |
Number of texture coordinate arrays currently present.
Implemented in vl::Geometry.
Referenced by vl::OpenGLContext::bindVAS().
virtual void vl::IVertexAttribSet::getTexCoordArrayAt | ( | int | i, |
int & | out_tex_unit, | ||
const ArrayAbstract *& | tex_array | ||
) | const [pure virtual] |
Gets the i-th texture coordinate information, where i must be 0 <= i < texCoordArrayCount().
Implemented in vl::Geometry.
Referenced by vl::OpenGLContext::bindVAS().
virtual void vl::IVertexAttribSet::setVertexAttribArray | ( | const VertexAttribInfo & | info ) | [pure virtual] |
Binds a generic vertex attribute.
Implemented in vl::Geometry.
virtual const VertexAttribInfo* vl::IVertexAttribSet::vertexAttribArray | ( | unsigned int | attrib_location ) | const [pure virtual] |
Returns a generic vertex attribute's info.
Implemented in vl::Geometry.
virtual VertexAttribInfo* vl::IVertexAttribSet::vertexAttribArray | ( | unsigned int | attrib_location ) | [pure virtual] |
Returns a generic vertex attribute's info.
Implemented in vl::Geometry.
virtual Collection<VertexAttribInfo>* vl::IVertexAttribSet::vertexAttribArrays | ( | ) | [pure virtual] |
The list of VertexAttribInfo objects bound to a Geometry.
Implemented in vl::Geometry.
Referenced by vl::OpenGLContext::bindVAS().
virtual const Collection<VertexAttribInfo>* vl::IVertexAttribSet::vertexAttribArrays | ( | ) | const [pure virtual] |
The list of VertexAttribInfo objects bound to a Geometry.
Implemented in vl::Geometry.