JUCE
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

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

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.