VedaMachineOGL/OGLMachine.h File Reference


Detailed Description

This file applies the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 , read file COPYING.

Author:
victorien ferry & www.m4nkind.com

Definition in file OGLMachine.h.

#include "VirtualMachine.h"
#include <GL/gl.h>

Go to the source code of this file.

Classes

class  OGLMachine
 Defines a AzurVeda platform independant OpenGL Machine. Still, this class is virtual, doesn't manage screen opening, doesn't manage sounds, But unify all OpenGL code, for any machine willing to use OpenGL. More...
class  OGLMachine::OGLInternalViewPort
class  OGLMachine::OGLInternalObject3DBuffer
 Nested class that implements a 3D object as a vertex and a polygon list. You ask the creation of it with VirtualMachine::NewObject3DBuffer(), then defines its shape by filling the list you get with GetFirstVertex() and GetFirstTriangle(), then it can be rendered with VirtualMachine::RenderMesh(). In order to optimize a static shape, use VirtualMachine::CompileAsStatic() In edition mode, it can be destroyed with VirtualMachine::DeleteObject3DBuffer(). More...
class  OGLMachine::OGLInternalTexture
class  OGLMachine::OGLInternalTexture::Layer
 nested class for private use. More...

Defines

#define APIENTRYP   APIENTRY *
#define GLAPI   extern
#define GL_TEXTURE0_ARB   0x84C0
#define GL_TEXTURE1_ARB   0x84C1
#define GL_FRAMEBUFFER_EXT   0x8D40
#define GL_RENDERBUFFER_EXT   0x8D41
#define GL_DEPTH_COMPONENT16   0x81A5
#define GL_DEPTH_COMPONENT24   0x81A6
#define GL_DEPTH_COMPONENT32   0x81A7
#define GL_COLOR_ATTACHMENT0_EXT   0x8CE0
#define GL_DEPTH_ATTACHMENT_EXT   0x8D00

Typedefs

typedef GLuint * renderbuffers
typedef GLuint * framebuffers
typedef GLuint renderbuffer
typedef GLenum internalformat
typedef GLenum GLsizei width
typedef GLenum GLsizei GLsizei height
typedef const GLuint * framebuffers
typedef const GLuint * renderbuffers
typedef GLuint framebuffer
typedef GLenum attachment
typedef GLenum GLenum renderbuffertarget
typedef GLenum GLenum GLuint renderbuffer
typedef GLenum attachment
typedef GLenum GLenum textarget
typedef GLenum GLenum GLuint texture
typedef GLenum GLenum GLuint
GLint 
level


      /\/\        4         N         k         !         N         D
                      _______  _ __ ___  _____            ___ _ _  ____
     ___________  __//___   /________  |/    / ___________\_______/    \
    /   _   _   \/   _     /    _   /      _/_/____/    _       __     /
   /    /   /       /     /    /    \      \/     /    /    \   \     /
  \\___/___/___/    ¯    _____/_____/       ______\___/_____/\________\\
               \________/_ ___ __ l____\      /elD!  
                 http://www.m4nkind.com \____/