A type of ImagePixelData that stores its image data in an OpenGL framebuffer, allowing a JUCE Image object to wrap a framebuffer.
More...
#include <juce_OpenGLImage.h>
A type of ImagePixelData that stores its image data in an OpenGL framebuffer, allowing a JUCE Image object to wrap a framebuffer.
By creating an Image from an instance of an OpenGLFrameBufferImage, you can then use a Graphics object to draw into the framebuffer using normal JUCE 2D operations.
- See also
- Image, ImageType, ImagePixelData, OpenGLFrameBuffer
◆ OpenGLImageType()
OpenGLImageType::OpenGLImageType |
( |
| ) |
|
◆ ~OpenGLImageType()
OpenGLImageType::~OpenGLImageType |
( |
| ) |
|
|
override |
◆ create()
Creates a new image of this type, and the specified parameters.
Implements ImageType.
◆ getTypeID()
int OpenGLImageType::getTypeID |
( |
| ) |
const |
|
overridevirtual |
Must return a unique number to identify this type.
Implements ImageType.
◆ getFrameBufferFrom()
The documentation for this class was generated from the following file: