![]() |
OpenXcom
1.0
Open-source clone of the original X-Com
|
Public Member Functions | |
| void | resize (unsigned width, unsigned height) |
| call to resize internal buffer; internal use | |
| bool | lock (uint32_t *&data, unsigned &pitch) |
| actually returns pointer to data buffer where one is to write the image | |
| void | clear () |
| make all the pixels go away | |
| void | refresh (bool smooth, unsigned inwidth, unsigned inheight, unsigned outwidth, unsigned outheight, int topBlackBand, int bottomBlackBand, int leftBlackBand, int rightBlackBand) |
| make the buffer show up on screen | |
| bool | set_shader (const char *source) |
| set a shader! but what kind? | |
| void | set_fragment_shader (const char *source) |
| same but for fragment shader? | |
| void | set_vertex_shader (const char *source) |
| and vertex? | |
| void | init (int width, int height) |
| init(), because we're too cool to initialize everything in the constructor | |
| void | term () |
| more like exit, because destructors are for uncool people | |
| void | setVSync (bool sync) |
| Try to set VSync! | |
| OpenGL () | |
| constructor – like we said, we're too cool to actually construct things | |
1.8.14