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

LowLevelGraphicsContextcreateOpenGLGraphicsContext (OpenGLContext &target, int width, int height)
 Creates a graphics context object that will render into the given OpenGL target. More...
 
LowLevelGraphicsContextcreateOpenGLGraphicsContext (OpenGLContext &context, OpenGLFrameBuffer &target)
 Creates a graphics context object that will render into the given OpenGL target. More...
 
LowLevelGraphicsContextcreateOpenGLGraphicsContext (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.