re3/src/render/RenderBuffer.h

19 lines
641 B
C
Raw Normal View History

2019-05-15 14:52:37 +00:00
class RenderBuffer
{
public:
2020-04-17 05:54:14 +00:00
static int VerticesToBeStored;
static int IndicesToBeStored;
2019-05-15 14:52:37 +00:00
static void ClearRenderBuffer(void);
static void StartStoring(int numIndices, int numVertices, RwImVertexIndex **indexStart, RwIm3DVertex **vertexStart);
static void StopStoring(void);
static void RenderStuffInBuffer(void);
};
2019-07-11 00:22:01 +00:00
2020-06-07 01:11:10 +00:00
#define TEMPBUFFERVERTSIZE 512
2019-07-11 00:22:01 +00:00
#define TEMPBUFFERINDEXSIZE 1024
2020-04-17 05:54:14 +00:00
extern int32 TempBufferVerticesStored;
extern int32 TempBufferIndicesStored;
2020-06-07 01:11:10 +00:00
extern RwIm2DVertex TempVertexBuffer[TEMPBUFFERVERTSIZE];
extern RwIm3DVertex *TempBufferRenderVertices;
2020-04-17 05:54:14 +00:00
extern RwImVertexIndex TempBufferRenderIndexList[TEMPBUFFERINDEXSIZE];