binana/profile/3.3.5a-windows-386/include/ui/simplebatchedmesh.h

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