Serious-Engine/Sources/LWSkaExporter/SDK/lwframbuf.h
2016-03-11 15:57:17 +02:00

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