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

An object which wraps a OpenGL texture object.

Public Types

enum  ComponentTypes {
  ComponentType_int8, ComponentType_int16, ComponentType_int32, ComponentType_float16,
  ComponentType_float32, ComponentTypes_End
}
 

Public Member Functions

 DtTextureObject ()
 
 ~DtTextureObject ()
 
void setType (unsigned int count, ComponentTypes type)
 
void resize (int w, int h)
 
void bind ()
 
void unbind ()
 
unsigned int id () const
 

Protected Attributes

unsigned int myId
 
bool myBoundFlag
 
unsigned int myInternalFormat
 
unsigned int myPixelFormat
 

Member Enumeration Documentation

Enumerator
ComponentType_int8 
ComponentType_int16 
ComponentType_int32 
ComponentType_float16 
ComponentType_float32 
ComponentTypes_End 

Constructor & Destructor Documentation

makVrv::DtTextureObject::DtTextureObject ( )
makVrv::DtTextureObject::~DtTextureObject ( )

Member Function Documentation

void makVrv::DtTextureObject::setType ( unsigned int  count,
ComponentTypes  type 
)

Set type of texture, number of components, 1 = R, 2 = RG, 3 = RGB, 4 = RGBA And the type of component.

void makVrv::DtTextureObject::resize ( int  w,
int  h 
)
void makVrv::DtTextureObject::bind ( )
void makVrv::DtTextureObject::unbind ( )
unsigned int makVrv::DtTextureObject::id ( ) const

Member Data Documentation

unsigned int makVrv::DtTextureObject::myId
protected
bool makVrv::DtTextureObject::myBoundFlag
protected
unsigned int makVrv::DtTextureObject::myInternalFormat
protected
unsigned int makVrv::DtTextureObject::myPixelFormat
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)