mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-24 11:20:27 +01:00
34 lines
889 B
C
34 lines
889 B
C
|
/*
|
||
|
* LWSDK Header File
|
||
|
* Copyright 1999, NewTek, Inc.
|
||
|
*
|
||
|
* LWFRAMBUF.H -- LightWave Framebuffers
|
||
|
*/
|
||
|
#ifndef LWSDK_FRAMBUF_H
|
||
|
#define LWSDK_FRAMBUF_H
|
||
|
|
||
|
#include <lwrender.h>
|
||
|
|
||
|
#define LWFRAMEBUFFER_HCLASS "FrameBufferHandler"
|
||
|
#define LWFRAMEBUFFER_ICLASS "FrameBufferInterface"
|
||
|
#define LWFRAMEBUFFER_VERSION 4
|
||
|
|
||
|
|
||
|
typedef struct st_LWFrameBufferHandler {
|
||
|
LWInstanceFuncs *inst;
|
||
|
LWItemFuncs *item;
|
||
|
int type;
|
||
|
LWError (*open) (LWInstance, int w, int h);
|
||
|
void (*close) (LWInstance);
|
||
|
LWError (*begin) (LWInstance);
|
||
|
LWError (*write) (LWInstance, const void *R, const void *G,
|
||
|
const void *B, const void *alpha);
|
||
|
void (*pause) (LWInstance);
|
||
|
} LWFrameBufferHandler;
|
||
|
|
||
|
#define LWFBT_UBYTE 0
|
||
|
#define LWFBT_FLOAT 1
|
||
|
|
||
|
#endif
|
||
|
|