ARB
Classes | Macros | Functions
glpng.h File Reference
#include <stdio.h>
Include dependency graph for glpng.h:

Go to the source code of this file.

Classes

struct  pngInfo
 
struct  pngRawInfo
 

Macros

#define APIENTRY
 
#define GLPNG_NOMIPMAPS   0
 
#define GLPNG_BUILDMIPMAPS   -1
 
#define GLPNG_SIMPLEMIPMAPS   -2
 
#define GLPNG_NOMIPMAP   GLPNG_NOMIPMAPS
 
#define GLPNG_BUILDMIPMAP   GLPNG_BUILDMIPMAPS
 
#define GLPNG_SIMPLEMIPMAP   GLPNG_SIMPLEMIPMAPS
 
#define GLPNG_CALLBACK   -3
 
#define GLPNG_ALPHA   -2
 
#define GLPNG_SOLID   -1
 
#define GLPNG_STENCIL   0
 
#define GLPNG_BLEND1   1
 
#define GLPNG_BLEND2   2
 
#define GLPNG_BLEND3   3
 
#define GLPNG_BLEND4   4
 
#define GLPNG_BLEND5   5
 
#define GLPNG_BLEND6   6
 
#define GLPNG_BLEND7   7
 
#define GLPNG_BLEND8   8
 

Functions

unsigned int APIENTRY pngBind (const char *filename, int mipmap, int trans, pngInfo *info, int wrapst, int minfilter, int magfilter)
 

Macro Definition Documentation

#define APIENTRY

Definition at line 48 of file glpng.h.

#define GLPNG_NOMIPMAPS   0

Definition at line 53 of file glpng.h.

#define GLPNG_BUILDMIPMAPS   -1

Definition at line 54 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_SIMPLEMIPMAPS   -2

Definition at line 55 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_NOMIPMAP   GLPNG_NOMIPMAPS

Definition at line 58 of file glpng.h.

Referenced by Texture2D::LoadGLTextures().

#define GLPNG_BUILDMIPMAP   GLPNG_BUILDMIPMAPS

Definition at line 59 of file glpng.h.

#define GLPNG_SIMPLEMIPMAP   GLPNG_SIMPLEMIPMAPS

Definition at line 60 of file glpng.h.

#define GLPNG_CALLBACK   -3

Definition at line 63 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_ALPHA   -2

Definition at line 64 of file glpng.h.

Referenced by Texture2D::LoadGLTextures(), and pngLoadF().

#define GLPNG_SOLID   -1

Definition at line 65 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_STENCIL   0

Definition at line 66 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_BLEND1   1

Definition at line 67 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_BLEND2   2

Definition at line 68 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_BLEND3   3

Definition at line 69 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_BLEND4   4

Definition at line 70 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_BLEND5   5

Definition at line 71 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_BLEND6   6

Definition at line 72 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_BLEND7   7

Definition at line 73 of file glpng.h.

Referenced by pngLoadF().

#define GLPNG_BLEND8   8

Definition at line 74 of file glpng.h.

Function Documentation

unsigned int APIENTRY pngBind ( const char filename,
int  mipmap,
int  trans,
pngInfo info,
int  wrapst,
int  minfilter,
int  magfilter 
)

Definition at line 569 of file glpng.c.

References id, pngLoad(), and SetParams().

Referenced by Texture2D::LoadGLTextures().