JUCE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Functions
juce_OpenGLGraphicsContext.h File Reference

Classes

struct  OpenGLGraphicsContextCustomShader
 Used to create custom shaders for use with an openGL 2D rendering context. More...
 

Functions

LowLevelGraphicsContextcreateOpenGLGraphicsContext (OpenGLContext &target, int width, int height)
 Creates a graphics context object that will render into the given OpenGL target.
 
LowLevelGraphicsContextcreateOpenGLGraphicsContext (OpenGLContext &context, OpenGLFrameBuffer &target)
 Creates a graphics context object that will render into the given OpenGL target.
 
LowLevelGraphicsContextcreateOpenGLGraphicsContext (OpenGLContext &context, unsigned int frameBufferID, int width, int height)
 Creates a graphics context object that will render into the given OpenGL target.
 

Function Documentation

LowLevelGraphicsContext* createOpenGLGraphicsContext ( OpenGLContext target,
int  width,
int  height 
)

Creates a graphics context object that will render into the given OpenGL target.

The caller is responsible for deleting this object when no longer needed.

LowLevelGraphicsContext* createOpenGLGraphicsContext ( OpenGLContext context,
OpenGLFrameBuffer target 
)

Creates a graphics context object that will render into the given OpenGL target.

The caller is responsible for deleting this object when no longer needed.

LowLevelGraphicsContext* createOpenGLGraphicsContext ( OpenGLContext context,
unsigned int  frameBufferID,
int  width,
int  height 
)

Creates a graphics context object that will render into the given OpenGL target.

The caller is responsible for deleting this object when no longer needed.