mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-02-05 01:29:07 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
31
src/gx/gll/GL.h
Normal file
31
src/gx/gll/GL.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#ifndef GX_GLL_GL_H
|
||||
#define GX_GLL_GL_H
|
||||
|
||||
#include "gx/gll/GLTypes.h"
|
||||
#include <OpenGL/gl.h>
|
||||
|
||||
typedef GLenum GLEnum;
|
||||
|
||||
#define kMAX_VERTEX_ATTRIBS 16
|
||||
|
||||
struct TextureFormatInfo {
|
||||
GLenum m_InternalFormat;
|
||||
GLenum m_DataFormat;
|
||||
GLenum m_DataType;
|
||||
int32_t m_IsCompressed;
|
||||
int32_t m_BytePerPixel;
|
||||
char m_Name[16];
|
||||
};
|
||||
|
||||
struct VertexTypeInfo {
|
||||
GLenum m_Type;
|
||||
GLint m_Size;
|
||||
GLboolean m_Normalized;
|
||||
GLint m_ByteSize;
|
||||
const char* m_Name;
|
||||
};
|
||||
|
||||
extern TextureFormatInfo k_TextureFormatInfo[GLTF_NUM_TEXTURE_FORMATS];
|
||||
extern VertexTypeInfo k_VertexTypeInfo[GLVT_NUM_VERTEX_TYPES];
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue