OpenGL wrapper API


Detailed Description

These classes wrap parts of the OpenGL API, maintaining a rather close mapping to the underlying concepts, but providing useful services and a semblance of automatic resource management. They are used by most higher-level components such as the 3D rendering pipeline.


Classes

class  wendy::GL::VertexBuffer
 Vertex buffer.

Uses VBO if available, with fallback to vertex arrays. More...

class  wendy::GL::VertexRange
 Vertex buffer range.

This class represents a contigous range of an vertex buffer object. This is useful for allocation schemes where many smaller objects are fitted into a single vertex buffer for performance reasons. More...

class  wendy::GL::IndexBuffer
 Index (or element) buffer.

Uses VBO if available, with fallback to index arrays. More...

class  wendy::GL::IndexRange
 Index buffer range.

This class represents a contigous range of an index buffer object. This is useful for allocation schemes where many smaller objects are fitted into a single index buffer for performance reasons. More...

class  wendy::GL::Canvas
 Rendering canvas.

This class represents a render target, i.e. a framebuffer binding. More...

class  wendy::GL::ScreenCanvas
 Canvas for rendering to the screen. More...
class  wendy::GL::TextureCanvas
 Canvas for rendering to a texture. More...
class  wendy::GL::ScreenMode
 Screen mode. More...
class  wendy::GL::ContextMode
 Context settings.

This class provides the settings parameters available for OpenGL context creation, as provided through Context::create. More...

class  wendy::GL::Context
 OpenGL context singleton.

This class encapsulates the OpenGL context, provides display mode control and basic HID (input) signals. It also initializes the GLEW library, allowing use of the GLEW booleans in client code for the entire lifetime of the context. More...

class  wendy::GL::Pass
 Render pass state object.

This class and its associated classes encapsulates most of the OpenGL rendering state, notable exceptions being the matrix stacks, object parameters, as well as scene-level states such as stencil and fog. More...

class  wendy::GL::Shader
 Base class for OpenGL Shading Language shader objects. More...
class  wendy::GL::VertexShader
 OpenGL Shading Language vertex shader object. More...
class  wendy::GL::FragmentShader
 OpenGL Shading Language fragment shader object. More...
class  wendy::GL::ShaderAttribute
 GLSL program vertex attribute.

This class describes a single GLSL program vertex attribute. More...

class  wendy::GL::ShaderUniform
 GLSL program uniform.

This class describes a single writable GLSL program uniform, or an array of writable uniforms. More...

class  wendy::GL::ShaderPermutation
class  wendy::GL::ShaderProgram
class  wendy::GL::Texture
 Texture image object. More...
class  wendy::GL::TextureLayer
 Texture unit state.

This class ties a specific texture (or no texture) to a specific texture unit, and can be said to represent a texture unit binding. More...

class  wendy::GL::TextureStack
 Texture layer stack object.

This class represents a state for the entire set of texture units (of which there may be only one, if multitexturing is unsupported). More...

class  wendy::GL::VertexComponent
 Vertex format component descriptor.

This class describes a single logical component of a vertex format. A component may have multiple members. More...

class  wendy::GL::VertexFormat
 Vertex format descriptor.

This class describes a mapping between the physical layout and the semantic structure of a given vertex format. More...


Enumerations

enum  wendy::GL::LockType { wendy::GL::LOCK_READ_ONLY, wendy::GL::LOCK_WRITE_ONLY, wendy::GL::LOCK_READ_WRITE }
enum  wendy::GL::CullMode { wendy::GL::CULL_NONE, wendy::GL::CULL_FRONT = GL_FRONT, wendy::GL::CULL_BACK = GL_BACK, wendy::GL::CULL_BOTH = GL_FRONT_AND_BACK }
 Cull mode enumeration. More...


Enumeration Type Documentation

Cull mode enumeration.

Enumerator:
CULL_NONE  Do not cull any geometry.
CULL_FRONT  Cull front-facing geometry (i.e. render back-facing geometry).
CULL_BACK  Cull back-facing geometry (i.e. render front-facing geometry).
CULL_BOTH  Cull all cullable geometry (i.e. front and back faces).

Memory locking type enumeration.

Enumerator:
LOCK_READ_ONLY  Requests read-only access.
LOCK_WRITE_ONLY  Requests write-only access.
LOCK_READ_WRITE  Requests read and write access.


Generated on Thu Sep 11 20:42:10 2008 for Wendy by  doxygen 1.5.6