GLdc/gl-arrays.h

31 lines
753 B
C
Raw Normal View History

/* KallistiGL for KallistiOS ##version##
libgl/gl-arrays.h
2014-09-29 02:40:41 +00:00
Copyright (C) 2013-2014 Josh Pearson
Arrays Input Primitive Types Supported:
-GL_TRIANGLES
-GL_TRIANGLE_STRIPS
-GL_QUADS
Here, it is not necessary to enable or disable client states;
the API is aware of what arrays have been submitted, and will
render accordingly. If you submit a normal pointer, dynamic
vertex lighting will be applied even if you submit a color
pointer, so only submit one or the other.
*/
#ifndef GL_ARRAYS_H
#define GL_ARRAYS_H
#include "gl.h"
#define GL_KOS_USE_ARRAY (1<<0)
#define GL_KOS_USE_TEXTURE0 (1<<1)
#define GL_KOS_USE_TEXTURE1 (1<<2)
#define GL_KOS_USE_COLOR (1<<3)
#define GL_KOS_USE_NORMAL (1<<4)
#endif