|
JMGraphics
|
has an fbo and a linked texture. Anything drawn between the buffer.beginDraw() and buffer.endDraw() functions is drawn to the buffer instead of the window. More...
#include <JMGraphics.h>
Public Member Functions | |
| Buffer (float Width, float Height, JMGraphics *parentObject) | |
| Buffer (const Buffer &)=delete | |
| Buffer & | operator= (const Buffer &)=delete |
| Buffer (Buffer &&)=default | |
| Buffer & | operator= (Buffer &&)=default |
| void | beginDraw () |
| void | endDraw () |
| float | width () const |
| float | height () const |
| void | setSize (float x, float y) |
| bool | isActive () const |
Public Attributes | |
| GLuint | texture = (GLuint)0 |
| JMGraphics * | parent = nullptr |
has an fbo and a linked texture. Anything drawn between the buffer.beginDraw() and buffer.endDraw() functions is drawn to the buffer instead of the window.