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>

Inherited by NL3D::CVertexArrayRangeARB, NL3D::CVertexArrayRangeATI, NL3D::CVertexArrayRangeMapObjectATI, and NL3D::CVertexArrayRangeNVidia.

List of all members.

Public Member Functions

 IVertexArrayRange (CDriverGL *drv)
virtual ~IVertexArrayRange ()
virtual bool allocate (uint32 size, CVertexBuffer::TPreferredMemory vbType)=0
 allocate a vertex array space. false if error. client must free before re-allocate.
virtual void free ()=0
 free this space.
virtual IVertexBufferHardGLcreateVBHardGL (uint size, CVertexBuffer *vb)=0
 create a IVertexBufferHardGL
virtual uint sizeAllocated () const =0
 return the size allocated. 0 if not allocated or failure
virtual void updateLostBuffers ()
CDriverGLgetDriver () const

Protected Attributes

CDriverGL_Driver

Detailed Description

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

Definition at line 54 of file driver_opengl_vertex_buffer_hard.h.


Constructor & Destructor Documentation

NL3D::IVertexArrayRange::IVertexArrayRange ( CDriverGL drv  ) 

Definition at line 53 of file driver_opengl_vertex_buffer_hard.cpp.

References _Driver, and H_AUTO_OGL.

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

Definition at line 59 of file driver_opengl_vertex_buffer_hard.cpp.

References H_AUTO_OGL.


Member Function Documentation

virtual bool NL3D::IVertexArrayRange::allocate ( uint32  size,
CVertexBuffer::TPreferredMemory  vbType 
) [pure virtual]

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

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

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

virtual IVertexBufferHardGL* NL3D::IVertexArrayRange::createVBHardGL ( uint  size,
CVertexBuffer vb 
) [pure virtual]
virtual void NL3D::IVertexArrayRange::free (  )  [pure virtual]
CDriverGL* NL3D::IVertexArrayRange::getDriver ( void   )  const [inline]

Definition at line 71 of file driver_opengl_vertex_buffer_hard.h.

References _Driver.

virtual uint NL3D::IVertexArrayRange::sizeAllocated (  )  const [pure virtual]
virtual void NL3D::IVertexArrayRange::updateLostBuffers (  )  [inline, virtual]

Member Data Documentation


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

Generated on Thu Jan 7 08:30:15 2010 for NeL by  doxygen 1.6.1