Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

texture.cpp File Reference

#include "ps2s/gsmem.h"
#include "GL/ps2gl.h"
#include "ps2gl/debug.h"
#include "ps2gl/texture.h"
#include "ps2gl/glcontext.h"
#include "ps2gl/dlist.h"
#include "ps2gl/immgmanager.h"
#include "ps2gl/dlgmanager.h"
#include "ps2gl/metrics.h"

Go to the source code of this file.

Compounds

class  CBindTextureCmd
class  CSetCurClutCmd
class  CSetCurTexImageCmd
class  CSetCurTexParamCmd
class  CSetGsTextureCmd
class  CSetTexEnabledCmd
class  CSetTexModeCmd

Functions

void glGenTextures (GLsizei numNewTexNames, GLuint *newTexNames)
void glBindTexture (GLenum target, GLuint texName)
void glDeleteTextures (GLsizei numToDelete, const GLuint *texNames)
void glTexImage2D (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
void glColorTable (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
void glTexParameteri (GLenum target, GLenum pname, GLint param)
void glTexParameterf (GLenum target, GLenum pname, GLfloat param)
void glTexParameteriv (GLenum target, GLenum pname, GLint *param)
void glTexParameterfv (GLenum target, GLenum pname, GLfloat *param)
void glTexEnvi (GLenum target, GLenum pname, GLint param)
void glTexEnvf (GLenum target, GLenum pname, GLfloat param)
void glTexEnvfv (GLenum target, GLenum pname, GLfloat *param)
void glTexEnviv (GLenum target, GLenum pname, GLint *param)
void pglTextureFromGsMemArea (pgl_area_handle_t tex_area_handle)
 Texture from the given memory area.


Function Documentation

void glBindTexture ( GLenum target,
GLuint texture )
 

Definition at line 467 of file texture.cpp.

void glColorTable ( GLenum target,
GLenum internalformat,
GLsizei width,
GLenum format,
GLenum type,
const GLvoid * table )
 

Definition at line 543 of file texture.cpp.

void glDeleteTextures ( GLsizei n,
const GLuint * textures )
 

Definition at line 475 of file texture.cpp.

void glGenTextures ( GLsizei n,
GLuint * textures )
 

Definition at line 461 of file texture.cpp.

void glTexEnvf ( GLenum target,
GLenum pname,
GLfloat param )
 

Definition at line 608 of file texture.cpp.

void glTexEnvfv ( GLenum target,
GLenum pname,
GLfloat * param )
 

Definition at line 613 of file texture.cpp.

void glTexEnvi ( GLenum target,
GLenum pname,
GLint param )
 

Definition at line 589 of file texture.cpp.

void glTexEnviv ( GLenum target,
GLenum pname,
GLint * param )
 

Definition at line 618 of file texture.cpp.

void glTexImage2D ( GLenum target,
GLint level,
GLint internalFormat,
GLsizei width,
GLsizei height,
GLint border,
GLenum format,
GLenum type,
const GLvoid * pixels )
 

Definition at line 481 of file texture.cpp.

void glTexParameterf ( GLenum target,
GLenum pname,
GLfloat param )
 

Definition at line 574 of file texture.cpp.

void glTexParameterfv ( GLenum target,
GLenum pname,
GLfloat * param )
 

Definition at line 584 of file texture.cpp.

void glTexParameteri ( GLenum target,
GLenum pname,
GLint param )
 

Definition at line 564 of file texture.cpp.

void glTexParameteriv ( GLenum target,
GLenum pname,
GLint * param )
 

Definition at line 579 of file texture.cpp.


ps2gl version 0.2