Visualization Library 2.0.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | List of all members
vl::IVertexAttribSet Class Referenceabstract

Abstract interface to manipulate OpenGL's vertex attribute arrays. More...

#include <IVertexAttribSet.hpp>

+ Inheritance diagram for vl::IVertexAttribSet:

Public Member Functions

virtual void setVertexArray (ArrayAbstract *data)=0
 Conventional vertex array. More...
 
virtual const ArrayAbstractvertexArray () const =0
 Conventional vertex array. More...
 
virtual ArrayAbstractvertexArray ()=0
 Conventional vertex array. More...
 
virtual void setNormalArray (ArrayAbstract *data)=0
 Conventional normal array. More...
 
virtual const ArrayAbstractnormalArray () const =0
 Conventional normal array. More...
 
virtual ArrayAbstractnormalArray ()=0
 Conventional normal array. More...
 
virtual void setColorArray (ArrayAbstract *data)=0
 Conventional color array. More...
 
virtual const ArrayAbstractcolorArray () const =0
 Conventional color array. More...
 
virtual ArrayAbstractcolorArray ()=0
 Conventional color array. More...
 
virtual void setSecondaryColorArray (ArrayAbstract *data)=0
 Conventional secondary color array. More...
 
virtual const ArrayAbstractsecondaryColorArray () const =0
 Conventional secondary color array. More...
 
virtual ArrayAbstractsecondaryColorArray ()=0
 Conventional secondary color array. More...
 
virtual void setFogCoordArray (ArrayAbstract *data)=0
 Conventional fog array. More...
 
virtual const ArrayAbstractfogCoordArray () const =0
 Conventional fog array. More...
 
virtual ArrayAbstractfogCoordArray ()=0
 Conventional fog array. More...
 
virtual void setTexCoordArray (int tex_unit, ArrayAbstract *data)=0
 Conventional texture coords arrays. More...
 
virtual const ArrayAbstracttexCoordArray (int tex_unit) const =0
 Conventional texture coords arrays. More...
 
virtual ArrayAbstracttexCoordArray (int tex_unit)=0
 Conventional texture coords arrays. More...
 
virtual void setVertexAttribArray (int attrib_location, const ArrayAbstract *info)=0
 Binds a generic vertex attribute. More...
 
virtual const ArrayAbstractvertexAttribArray (int attrib_location) const =0
 Returns a generic vertex attribute's info. More...
 
virtual ArrayAbstractvertexAttribArray (int attrib_location)=0
 Returns a generic vertex attribute's info. More...
 

Detailed Description

Abstract interface to manipulate OpenGL's vertex attribute arrays.

Definition at line 44 of file IVertexAttribSet.hpp.

Member Function Documentation

◆ colorArray() [1/2]

virtual const ArrayAbstract* vl::IVertexAttribSet::colorArray ( ) const
pure virtual

Conventional color array.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS_Fixed().

◆ colorArray() [2/2]

virtual ArrayAbstract* vl::IVertexAttribSet::colorArray ( )
pure virtual

Conventional color array.

Implemented in vl::Geometry.

◆ fogCoordArray() [1/2]

virtual const ArrayAbstract* vl::IVertexAttribSet::fogCoordArray ( ) const
pure virtual

Conventional fog array.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS_Fixed().

◆ fogCoordArray() [2/2]

virtual ArrayAbstract* vl::IVertexAttribSet::fogCoordArray ( )
pure virtual

Conventional fog array.

Implemented in vl::Geometry.

◆ normalArray() [1/2]

virtual const ArrayAbstract* vl::IVertexAttribSet::normalArray ( ) const
pure virtual

Conventional normal array.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS_Fixed().

◆ normalArray() [2/2]

virtual ArrayAbstract* vl::IVertexAttribSet::normalArray ( )
pure virtual

Conventional normal array.

Implemented in vl::Geometry.

◆ secondaryColorArray() [1/2]

virtual const ArrayAbstract* vl::IVertexAttribSet::secondaryColorArray ( ) const
pure virtual

Conventional secondary color array.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS_Fixed().

◆ secondaryColorArray() [2/2]

virtual ArrayAbstract* vl::IVertexAttribSet::secondaryColorArray ( )
pure virtual

Conventional secondary color array.

Implemented in vl::Geometry.

◆ setColorArray()

virtual void vl::IVertexAttribSet::setColorArray ( ArrayAbstract data)
pure virtual

Conventional color array.

Implemented in vl::Geometry.

◆ setFogCoordArray()

virtual void vl::IVertexAttribSet::setFogCoordArray ( ArrayAbstract data)
pure virtual

Conventional fog array.

Implemented in vl::Geometry.

◆ setNormalArray()

virtual void vl::IVertexAttribSet::setNormalArray ( ArrayAbstract data)
pure virtual

Conventional normal array.

Implemented in vl::Geometry.

◆ setSecondaryColorArray()

virtual void vl::IVertexAttribSet::setSecondaryColorArray ( ArrayAbstract data)
pure virtual

Conventional secondary color array.

Implemented in vl::Geometry.

◆ setTexCoordArray()

virtual void vl::IVertexAttribSet::setTexCoordArray ( int  tex_unit,
ArrayAbstract data 
)
pure virtual

Conventional texture coords arrays.

Implemented in vl::Geometry.

◆ setVertexArray()

virtual void vl::IVertexAttribSet::setVertexArray ( ArrayAbstract data)
pure virtual

Conventional vertex array.

Implemented in vl::Geometry.

◆ setVertexAttribArray()

virtual void vl::IVertexAttribSet::setVertexAttribArray ( int  attrib_location,
const ArrayAbstract info 
)
pure virtual

Binds a generic vertex attribute.

Implemented in vl::Geometry.

◆ texCoordArray() [1/2]

virtual const ArrayAbstract* vl::IVertexAttribSet::texCoordArray ( int  tex_unit) const
pure virtual

Conventional texture coords arrays.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS_Fixed().

◆ texCoordArray() [2/2]

virtual ArrayAbstract* vl::IVertexAttribSet::texCoordArray ( int  tex_unit)
pure virtual

Conventional texture coords arrays.

Implemented in vl::Geometry.

◆ vertexArray() [1/2]

virtual const ArrayAbstract* vl::IVertexAttribSet::vertexArray ( ) const
pure virtual

Conventional vertex array.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS_Fixed().

◆ vertexArray() [2/2]

virtual ArrayAbstract* vl::IVertexAttribSet::vertexArray ( )
pure virtual

Conventional vertex array.

Implemented in vl::Geometry.

◆ vertexAttribArray() [1/2]

virtual const ArrayAbstract* vl::IVertexAttribSet::vertexAttribArray ( int  attrib_location) const
pure virtual

Returns a generic vertex attribute's info.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS_Attribs().

◆ vertexAttribArray() [2/2]

virtual ArrayAbstract* vl::IVertexAttribSet::vertexAttribArray ( int  attrib_location)
pure virtual

Returns a generic vertex attribute's info.

Implemented in vl::Geometry.


The documentation for this class was generated from the following file: