NL3D::IVertexArrayRange Class Reference

#include <driver_opengl_vertex_buffer_hard.h>

Inheritance diagram for NL3D::IVertexArrayRange:

NL3D::CVertexArrayRangeATI NL3D::CVertexArrayRangeMapObjectATI NL3D::CVertexArrayRangeNVidia

Detailed Description

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

Definition at line 53 of file driver_opengl_vertex_buffer_hard.h.

Public Member Functions

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

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

virtual void free ()=0
 free this space.

 IVertexArrayRange (CDriverGL *drv)
virtual uint sizeAllocated () const=0
 return the size allocated. 0 if not allocated or failure

virtual ~IVertexArrayRange ()

Protected Attributes

CDriverGL_Driver


Constructor & Destructor Documentation

NL3D::IVertexArrayRange::IVertexArrayRange CDriverGL drv  ) 
 

Definition at line 52 of file driver_opengl_vertex_buffer_hard.cpp.

00053 {
00054         _Driver= drv;
00055 }

NL3D::IVertexArrayRange::~IVertexArrayRange  )  [virtual]
 

Definition at line 57 of file driver_opengl_vertex_buffer_hard.cpp.

00058 {
00059 }


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, NL3D::CVertexArrayRangeATI, and NL3D::CVertexArrayRangeMapObjectATI.

Referenced by NL3D::CDriverGL::initVertexArrayRange().

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

create a IVertexBufferHardGL

Implemented in NL3D::CVertexArrayRangeNVidia, NL3D::CVertexArrayRangeATI, and NL3D::CVertexArrayRangeMapObjectATI.

Referenced by NL3D::CDriverGL::createVertexBufferHard().

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

free this space.

Implemented in NL3D::CVertexArrayRangeNVidia, NL3D::CVertexArrayRangeATI, and NL3D::CVertexArrayRangeMapObjectATI.

Referenced by NL3D::CDriverGL::resetVertexArrayRange().

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

return the size allocated. 0 if not allocated or failure

Implemented in NL3D::CVertexArrayRangeNVidia, NL3D::CVertexArrayRangeATI, and NL3D::CVertexArrayRangeMapObjectATI.

Referenced by NL3D::CDriverGL::getAvailableVertexAGPMemory(), and NL3D::CDriverGL::getAvailableVertexVRAMMemory().


Field Documentation

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

Definition at line 69 of file driver_opengl_vertex_buffer_hard.h.


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 08:41:24 2004 for NeL by doxygen 1.3.6