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

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.