JUCE
Functions

Functions

std::unique_ptr< LowLevelGraphicsContextcreateOpenGLGraphicsContext (OpenGLContext &, int width, int height)
 Creates a graphics context object that will render into the given OpenGL target. More...
 
std::unique_ptr< LowLevelGraphicsContextcreateOpenGLGraphicsContext (OpenGLContext &, OpenGLFrameBuffer &)
 Creates a graphics context object that will render into the given OpenGL framebuffer. More...
 
std::unique_ptr< LowLevelGraphicsContextcreateOpenGLGraphicsContext (OpenGLContext &, unsigned int frameBufferID, int width, int height)
 Creates a graphics context object that will render into the given OpenGL framebuffer, with the given size. More...
 

Detailed Description

Function Documentation

◆ createOpenGLGraphicsContext() [1/3]

std::unique_ptr<LowLevelGraphicsContext> createOpenGLGraphicsContext ( OpenGLContext ,
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.

◆ createOpenGLGraphicsContext() [2/3]

std::unique_ptr<LowLevelGraphicsContext> createOpenGLGraphicsContext ( OpenGLContext ,
OpenGLFrameBuffer  
)

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

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

◆ createOpenGLGraphicsContext() [3/3]

std::unique_ptr<LowLevelGraphicsContext> createOpenGLGraphicsContext ( OpenGLContext ,
unsigned int  frameBufferID,
int  width,
int  height 
)

Creates a graphics context object that will render into the given OpenGL framebuffer, with the given size.

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