mirror of https://github.com/vitalif/openscad
12 lines
355 B
C++
12 lines
355 B
C++
#ifndef OFFSCREENCONTEXT_H_
|
|
#define OFFSCREENCONTEXT_H_
|
|
|
|
#include <iostream> // for error output
|
|
|
|
struct OffscreenContext *create_offscreen_context(int w, int h);
|
|
void bind_offscreen_context(OffscreenContext *ctx);
|
|
bool teardown_offscreen_context(OffscreenContext *ctx);
|
|
bool save_framebuffer(OffscreenContext *ctx, const char *filename);
|
|
|
|
#endif
|