# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::IVertexArrayRange Class Reference

Interface to a Big block of AGP memory either throurgh NVVertexArrayRange or ATIVertexObject. More...

#include <driver_opengl_vertex_buffer_hard.h>

Inheritance diagram for NL3D::IVertexArrayRange:

NL3D::CVertexArrayRangeATI NL3D::CVertexArrayRangeNVidia List of all members.

Public Methods

 IVertexArrayRange (CDriverGL *drv)
virtual ~IVertexArrayRange ()
virtual bool allocate (uint32 size, IDriver::TVBHardType vbType)=0
 allocate a vertex array space. false if error. client must free before re-allocate. More...

virtual void free ()=0
 free this space. More...

virtual IVertexBufferHardGLcreateVBHardGL (uint16 vertexFormat, const uint8 *typeArray, uint32 numVertices)=0
 create a IVertexBufferHardGL. More...

virtual uint sizeAllocated () const=0
 return the size allocated. 0 if not allocated or failure. More...


Protected Attributes

CDriverGL_Driver

Detailed Description

Interface to a Big block of AGP memory either throurgh NVVertexArrayRange or ATIVertexObject.

Definition at line 51 of file driver_opengl_vertex_buffer_hard.h.


Constructor & Destructor Documentation

NL3D::IVertexArrayRange::IVertexArrayRange CDriverGL   drv
 

Definition at line 52 of file driver_opengl_vertex_buffer_hard.cpp.

References _Driver.

NL3D::IVertexArrayRange::~IVertexArrayRange   [virtual]
 

Definition at line 57 of file driver_opengl_vertex_buffer_hard.cpp.


Member Function Documentation

virtual bool NL3D::IVertexArrayRange::allocate uint32    size,
IDriver::TVBHardType    vbType
[pure virtual]
 

allocate a vertex array space. false if error. client must free before re-allocate.

Implemented in NL3D::CVertexArrayRangeNVidia.

virtual IVertexBufferHardGL* NL3D::IVertexArrayRange::createVBHardGL uint16    vertexFormat,
const uint8   typeArray,
uint32    numVertices
[pure virtual]
 

create a IVertexBufferHardGL.

Implemented in NL3D::CVertexArrayRangeNVidia.

virtual void NL3D::IVertexArrayRange::free   [pure virtual]
 

free this space.

Implemented in NL3D::CVertexArrayRangeNVidia.

virtual uint NL3D::IVertexArrayRange::sizeAllocated   const [pure virtual]
 

return the size allocated. 0 if not allocated or failure.

Implemented in NL3D::CVertexArrayRangeNVidia.


Member Data Documentation

CDriverGL* NL3D::IVertexArrayRange::_Driver [protected]
 

Definition at line 67 of file driver_opengl_vertex_buffer_hard.h.

Referenced by NL3D::CVertexArrayRangeATI::createVBHardGL, NL3D::CVertexArrayRangeNVidia::createVBHardGL, NL3D::CVertexArrayRangeATI::disable, NL3D::CVertexArrayRangeNVidia::disable, NL3D::CVertexArrayRangeATI::enable, NL3D::CVertexArrayRangeNVidia::enable, and IVertexArrayRange.


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