Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
format.hpp
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "SDL_opengl.h" // for GLenum
7 
8 extern GLenum texformat(int bpp);
9 extern bool alphaformat(GLenum format);
11 extern GLenum compressedformat(GLenum format, int w, int h, int force = 0);
12 extern GLenum textarget(GLenum subtarget);
13 extern int formatsize(GLenum format);
14 
15 
typedef GLenum(APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target)
GLenum compressedformat(GLenum format, int w, int h, int force=0)
Definition: format.cpp:53
GLenum textarget(GLenum subtarget)
Definition: format.cpp:69
GLenum texformat(int bpp)
Definition: format.cpp:12
void format(tagval *args, int numargs)
Definition: command.cpp:2584
int formatsize(GLenum format)
Definition: format.cpp:84
bool alphaformat(GLenum format)
Definition: format.cpp:24
GLenum uncompressedformat(GLenum format)
Definition: format.cpp:37