mirror of
https://github.com/gre/gl-react.git
synced 2026-01-18 16:16:59 +00:00
25 lines
351 B
C
Executable File
25 lines
351 B
C
Executable File
#ifndef __GLASSETS_H__
|
|
#define __GLASSETS_H__
|
|
|
|
typedef struct _GLAsset {
|
|
void *data;
|
|
void *lazyFlippedData;
|
|
int width;
|
|
int height;
|
|
} GLAsset;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void GLImagesSet(int glAssetId, void *data, int width, int height);
|
|
|
|
GLAsset* GLImagesGet(int glAssetId);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif
|