You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
592 B

#ifndef __SPINE_MESH_DATA_H__
#define __SPINE_MESH_DATA_H__
#include <stdint.h>
class SpineMeshData {
public:
static void initMeshMemory();
static void releaseMeshMemory();
static void reset();
static void moveVB(uint32_t count);
static void moveIB(uint32_t count);
static uint8_t *queryVBuffer();
static uint16_t *queryIBuffer();
static uint8_t *vb();
static uint16_t *ib();
private:
static uint8_t *vBuf;
static uint16_t *iBuf;
static uint8_t *vPtr;
static uint16_t *iPtr;
static uint8_t *vEnd;
static uint16_t *iEnd;
};
#endif