JUCE
Classes | Functions

Classes

class  OpenGLContext
 Creates an OpenGL context, which can be attached to a component. More...
 
class  OpenGLFrameBuffer
 Creates an openGL frame buffer. More...
 
struct  OpenGLGraphicsContextCustomShader
 Used to create custom shaders for use with an openGL 2D rendering context. More...
 
class  OpenGLHelpers
 A set of miscellaneous openGL helper functions. More...
 
class  OpenGLImageType
 A type of ImagePixelData that stores its image data in an OpenGL framebuffer, allowing a JUCE Image object to wrap a framebuffer. More...
 
class  OpenGLPixelFormat
 Represents the various properties of an OpenGL pixel format. More...
 
class  OpenGLRenderer
 A base class that should be implemented by classes which want to render openGL on a background thread. More...
 
class  OpenGLShaderProgram
 Manages an OpenGL shader program. More...
 
struct  OpenGLShaderProgram::Attribute
 Represents an openGL vertex attribute value. More...
 
struct  OpenGLShaderProgram::Uniform
 Represents an openGL uniform value. More...
 
class  OpenGLTexture
 Creates an openGL texture from an Image. More...
 

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.