mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Initial commit
This commit is contained in:
commit
77cdaaf97e
827 changed files with 418745 additions and 0 deletions
18
src/renderer/RenderBuffer.h
Normal file
18
src/renderer/RenderBuffer.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
class RenderBuffer
|
||||
{
|
||||
public:
|
||||
static int VerticesToBeStored;
|
||||
static int IndicesToBeStored;
|
||||
static void ClearRenderBuffer(void);
|
||||
static void StartStoring(int numIndices, int numVertices, RwImVertexIndex **indexStart, RwIm3DVertex **vertexStart);
|
||||
static void StopStoring(void);
|
||||
static void RenderStuffInBuffer(void);
|
||||
};
|
||||
|
||||
#define TEMPBUFFERVERTSIZE 256
|
||||
#define TEMPBUFFERINDEXSIZE 1024
|
||||
|
||||
extern int32 TempBufferVerticesStored;
|
||||
extern int32 TempBufferIndicesStored;
|
||||
extern RwIm3DVertex TempBufferRenderVertices[TEMPBUFFERVERTSIZE];
|
||||
extern RwImVertexIndex TempBufferRenderIndexList[TEMPBUFFERINDEXSIZE];
|
||||
Loading…
Add table
Add a link
Reference in a new issue