RMpipe
typedef struct RMpipe
{
RMenum channel_format;
int xwindow_width, xwindow_height;
int xflags;
RMenum opaque3DEnable, transparent3DEnable, opaque2DEnable;
RMenum initMatrixStack; /* RM_TRUE or RM_FALSE */
/* render function */
void (*channel_render_func)(RMnode *t, struct RMpipe *p);
/*
* optional app callback invoked after rendering, but before
* the "swapbuffers" call. can be used to perform synchronization
* between multiple rendering engines.
*/
void (*postRenderBarrierFunc)(struct RMpipe *p);
/* color and depth buffer acquisition */
void (*postrenderfunc)(RMimage *, int rm_buff_enum);
void (*postrender_depthbufferfunc)(RMimage *, int rm_buff_enum);
void (*swapbuffunc)(struct RMpipe *);
HDC hdc;
HWND hwnd;
HGLRC hRC;
/* the context cache */
RMcontextCache *cache;
} RMpipe;
librm library source file: rmw.h