iso::gl Namespace Reference


Classes

class  GL
class  BufferObject
class  BufferedTexture
class  GLException
class  FrameBufferObject
class  Program
class  Shader
class  Texture
class  TextureManager
class  GLSL

Typedefs

typedef img::Buffer< unsigned
char > 
ColorBuffer
typedef base::real real

Enumerations

enum  ShaderType { VertexShader, FragmentShader }
enum  DataType {
  Byte = GL_BYTE, UByte = GL_UNSIGNED_BYTE, Int = GL_INT, UInt = GL_UNSIGNED_INT,
  Float = GL_FLOAT
}
enum  DrawPrimitiveType { PointPrimitives = GL_POINTS, LinePrimitives = GL_LINES, TrianglePrimitives = GL_TRIANGLES }
enum  ColorType {
  Alpha = GL_ALPHA, Depth = GL_DEPTH_COMPONENT, Luminance = GL_LUMINANCE, Intensity = GL_INTENSITY,
  RGB = GL_RGB, RGBA = GL_RGBA
}
enum  BufferObjectType { ArrayBuffer = GL_ARRAY_BUFFER, IndexBuffer = GL_ELEMENT_ARRAY_BUFFER }
enum  BufferUsageType { StaticDraw = GL_STATIC_DRAW, DynamicDraw = GL_DYNAMIC_DRAW }

Functions

GLenum glType (char pType)
GLenum glType (unsigned char pType)
GLenum glType (int pType)
GLenum glType (unsigned int pType)
GLenum glType (float pType)
template<typename Type>
GLenum glType ()
DataType dataType (char pType)
DataType dataType (unsigned char pType)
DataType dataType (int pType)
DataType dataType (unsigned int pType)
DataType dataType (float pType)
template<typename Type>
DataType dataType ()
ColorType colorType (GLenum pColorType)


Typedef Documentation

typedef img::Buffer<unsigned char> iso::gl::ColorBuffer

typedef base::real iso::gl::real


Enumeration Type Documentation

enum iso::gl::BufferObjectType

Enumerator:
ArrayBuffer 
IndexBuffer 

enum iso::gl::BufferUsageType

Enumerator:
StaticDraw 
DynamicDraw 

enum iso::gl::ColorType

Enumerator:
Alpha 
Depth 
Luminance 
Intensity 
RGB 
RGBA 

enum iso::gl::DataType

Enumerator:
Byte 
UByte 
Int 
UInt 
Float 

enum iso::gl::DrawPrimitiveType

Enumerator:
PointPrimitives 
LinePrimitives 
TrianglePrimitives 

enum iso::gl::ShaderType

Enumerator:
VertexShader 
FragmentShader 


Function Documentation

ColorType iso::gl::colorType ( GLenum  pColorType  )  [inline]

template<typename Type>
DataType iso::gl::dataType (  ) 

DataType iso::gl::dataType ( float  pType  )  [inline]

DataType iso::gl::dataType ( unsigned int  pType  )  [inline]

DataType iso::gl::dataType ( int  pType  )  [inline]

DataType iso::gl::dataType ( unsigned char  pType  )  [inline]

DataType iso::gl::dataType ( char  pType  )  [inline]

template<typename Type>
GLenum iso::gl::glType (  ) 

GLenum iso::gl::glType ( float  pType  )  [inline]

GLenum iso::gl::glType ( unsigned int  pType  )  [inline]

GLenum iso::gl::glType ( int  pType  )  [inline]

GLenum iso::gl::glType ( unsigned char  pType  )  [inline]

GLenum iso::gl::glType ( char  pType  )  [inline]


Generated on Fri Feb 25 14:01:55 2011 for iso_gl by  doxygen 1.5.1