VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtGlTextureBufferObject Class Reference

Wrapper for OpenGL Texture Buffer Object.

Public Member Functions

 DtGlTextureBufferObject (const char *name, DtDataFormat format, DtUsage usage, DtCpuAccess cpuAccess)
 
 DtGlTextureBufferObject ()=delete
 
 DtGlTextureBufferObject (const DtGlTextureBufferObject &rhs)=delete
 
DtGlTextureBufferObjectoperator= (const DtGlTextureBufferObject &rhs)=delete
 
virtual ~DtGlTextureBufferObject ()
 
virtual void copyAndOrphanStreamedData (void *pData, size_t sizeInBytes)
 
virtual void bindTexture (void)
 
virtual void tearDown (void)
 

Protected Member Functions

virtual void initialize ()
 

Protected Attributes

std::string myName
 
GLuint myTextureBufferObjectID
 
GLuint myTextureID
 
size_t mySizeInBytes
 
DtUsage myUsage
 
DtCpuAccess myCPUAccess
 
DtDataFormat myFormat
 
GLenum myGLUsage
 
GLenum myGLInternalFormat
 

Constructor & Destructor Documentation

makVrv::DtGlTextureBufferObject::DtGlTextureBufferObject ( const char name,
DtDataFormat  format,
DtUsage  usage,
DtCpuAccess  cpuAccess 
)

doesn't allocate instantly

makVrv::DtGlTextureBufferObject::DtGlTextureBufferObject ( )
delete

not allowed

makVrv::DtGlTextureBufferObject::DtGlTextureBufferObject ( const DtGlTextureBufferObject rhs)
delete

not allowed

virtual makVrv::DtGlTextureBufferObject::~DtGlTextureBufferObject ( )
virtual

DTOR.

Member Function Documentation

DtGlTextureBufferObject& makVrv::DtGlTextureBufferObject::operator= ( const DtGlTextureBufferObject rhs)
delete

not allowed

virtual void makVrv::DtGlTextureBufferObject::copyAndOrphanStreamedData ( void *  pData,
size_t  sizeInBytes 
)
virtual

Upload and resize buffer, assumes used for just a frame.

virtual void makVrv::DtGlTextureBufferObject::bindTexture ( void  )
virtual
virtual void makVrv::DtGlTextureBufferObject::tearDown ( void  )
virtual
virtual void makVrv::DtGlTextureBufferObject::initialize ( )
protectedvirtual

Member Data Documentation

std::string makVrv::DtGlTextureBufferObject::myName
protected
GLuint makVrv::DtGlTextureBufferObject::myTextureBufferObjectID
protected
GLuint makVrv::DtGlTextureBufferObject::myTextureID
protected
size_t makVrv::DtGlTextureBufferObject::mySizeInBytes
protected
DtUsage makVrv::DtGlTextureBufferObject::myUsage
protected
DtCpuAccess makVrv::DtGlTextureBufferObject::myCPUAccess
protected
DtDataFormat makVrv::DtGlTextureBufferObject::myFormat
protected
GLenum makVrv::DtGlTextureBufferObject::myGLUsage
protected
GLenum makVrv::DtGlTextureBufferObject::myGLInternalFormat
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)