![]() |
VR-Forces Developer's Guide
|
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 | |
| DtGlTextureBufferObject & | operator= (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 |
| makVrv::DtGlTextureBufferObject::DtGlTextureBufferObject | ( | const char * | name, |
| DtDataFormat | format, | ||
| DtUsage | usage, | ||
| DtCpuAccess | cpuAccess | ||
| ) |
doesn't allocate instantly
|
delete |
not allowed
|
delete |
not allowed
|
virtual |
DTOR.
|
delete |
not allowed
|
virtual |
Upload and resize buffer, assumes used for just a frame.
|
virtual |
|
virtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |