mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-01-11 11:18:40 +00:00
32 lines
560 B
C
32 lines
560 B
C
/**
|
|
* Jingga
|
|
*
|
|
* @copyright Jingga
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
#ifndef TOS_ATTRIB_H
|
|
#define TOS_ATTRIB_H
|
|
|
|
#if OPENGL
|
|
#include "../gpuapi/opengl/Opengl.h"
|
|
#include "../object/Vertex.h"
|
|
|
|
struct Attrib {
|
|
GLuint program;
|
|
VertexRef vertices;
|
|
GLuint matrix;
|
|
GLuint sampler;
|
|
GLuint camera;
|
|
GLuint timer;
|
|
GLuint extra1;
|
|
GLuint extra2;
|
|
GLuint extra3;
|
|
GLuint extra4;
|
|
};
|
|
#else
|
|
struct Attrib {};
|
|
#endif
|
|
|
|
#endif |