mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 17:52:29 +00:00
29 lines
No EOL
587 B
C
29 lines
No EOL
587 B
C
#ifndef UI_SIMPLE_BATCHED_MESH_H
|
|
#define UI_SIMPLE_BATCHED_MESH_H
|
|
|
|
#include "texture/texture.h"
|
|
#include "gx/texture.h"
|
|
#include "gx/shader.h"
|
|
#include "tempest/vector.h"
|
|
|
|
DECLARE_STRUCT(CSimpleBatchedMesh);
|
|
|
|
struct CSimpleBatchedMesh {
|
|
CTexture* texture;
|
|
CGxTex* textureID;
|
|
EGxBlend alphaMode;
|
|
CGxShader* shader;
|
|
int32_t posCount;
|
|
C3Vector* position;
|
|
C2Vector* texCoord;
|
|
CImVector* color;
|
|
int32_t colorCount;
|
|
uint16_t* indices;
|
|
int32_t idxCount;
|
|
int32_t onAtlas;
|
|
float atlasScale;
|
|
C2Vector atlasOffset;
|
|
};
|
|
STORM_TS_GROWABLE_ARRAY(CSimpleBatchedMesh);
|
|
|
|
#endif |