feat(profile): added definitions for a handful of UI objects

This commit is contained in:
phaneron 2024-09-30 17:19:28 -04:00
parent ac20b7a227
commit 8ff5db67f2
39 changed files with 4484 additions and 183 deletions

View file

@ -0,0 +1,28 @@
#ifndef UI_RENDER_BATCH_H
#define UI_RENDER_BATCH_H
#include "system/types.h"
#include "ui/simplebatchedmesh.h"
#include "gx/stringbatch.h"
DECLARE_STRUCT(CRenderBatch);
DECLARE_STRUCT(RENDERCALLBACKNODE);
STORM_TS_LIST(RENDERCALLBACKNODE);
STORM_TS_LIST(CRenderBatch);
// struct RENDERCALLBACKNODE : TSLinkedNode<RENDERCALLBACKNODE>
struct RENDERCALLBACKNODE {
void* callback;
void* param;
};
struct CRenderBatch {
uint32_t m_count;
TSGrowableArray_CSimpleBatchedMesh m_texturelist;
CGxStringBatch* m_stringbatch;
TSList_RENDERCALLBACKNODE m_callbacks;
TSLink_CRenderBatch renderLink;
};
#endif