TinyGL 0.4.1 for MinGW
Functions
texture.c File Reference
#include "zgl.h"

Go to the source code of this file.

Functions

GLTexturealloc_texture (GLContext *c, int h)
 
void glInitTextures (GLContext *c)
 
void glGenTextures (int n, unsigned int *textures)
 
void glDeleteTextures (int n, const unsigned int *textures)
 
void glopBindTexture (GLContext *c, GLParam *p)
 
void glopTexImage2D (GLContext *c, GLParam *p)
 
void glopTexEnv (GLContext *c, GLParam *p)
 
void glopTexParameter (GLContext *c, GLParam *p)
 
void glopPixelStore (GLContext *c, GLParam *p)
 

Function Documentation

◆ alloc_texture()

GLTexture * alloc_texture ( GLContext c,
int  h 
)

Definition at line 43 of file texture.c.

◆ glDeleteTextures()

void glDeleteTextures ( int  n,
const unsigned int *  textures 
)

Definition at line 91 of file texture.c.

◆ glGenTextures()

void glGenTextures ( int  n,
unsigned int *  textures 
)

Definition at line 70 of file texture.c.

◆ glInitTextures()

void glInitTextures ( GLContext c)

Definition at line 62 of file texture.c.

◆ glopBindTexture()

void glopBindTexture ( GLContext c,
GLParam p 
)

Definition at line 109 of file texture.c.

◆ glopPixelStore()

void glopPixelStore ( GLContext c,
GLParam p 
)

Definition at line 220 of file texture.c.

◆ glopTexEnv()

void glopTexEnv ( GLContext c,
GLParam p 
)

Definition at line 184 of file texture.c.

◆ glopTexImage2D()

void glopTexImage2D ( GLContext c,
GLParam p 
)

Definition at line 124 of file texture.c.

◆ glopTexParameter()

void glopTexParameter ( GLContext c,
GLParam p 
)

Definition at line 201 of file texture.c.