Files
c-prime/application/demos/example.opengl/engine/uniform.h

55 lines
449 B
C
Raw Normal View History

2025-11-17 10:28:09 +01:00
#ifndef _uniform
#define _uniform
// Macros
#define GL_GLEXT_PROTOTYPES
#include "stdlib.h"
extern char * __ClassNames[];
// Includes
#include <GL/glx.h>
#include <GL/gl.h>
#include <GL/glext.h>
typedef struct uniform{
char name[64];
GLint index;
GLint location;
GLint offset;
GLint size;
GLenum type;
} uniform;
uniform uniform_new( );
uniform * uniform_newPointer( );
#endif
typedef struct uniform uniform;