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

texture.cpp File Reference

#include "ps2gl/texture.h"
#include "GL/ps2gl.h"
#include "ps2gl/debug.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, const 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 glTexSubImage2D (GLenum target, int level, int xoffset, int yoffset, int width, int height, GLenum format, GLenum type, const void *pixels)
void glCopyTexImage2D (GLenum target, int level, GLenum iformat, int x, int y, int width, int height, int border)
void glCopyTexSubImage2D (GLenum target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
void pglFreeTexture (GLuint texId)
 Free the named GL texture object. More...

void pglBindTextureToSlot (GLuint texId, pgl_slot_handle_t mem_slot)
 Bind the named GL texture object to the given GS memory slot. More...

void pglTextureFromGsMemArea (pgl_area_handle_t tex_area_handle)
 Texture from the given memory area. More...


Function Documentation

void glBindTexture GLenum    target,
GLuint    texture
 

Definition at line 545 of file texture.cpp.

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

Definition at line 623 of file texture.cpp.

void glCopyTexImage2D GLenum    target,
int    level,
GLenum    iformat,
int    x,
int    y,
int    width,
int    height,
int    border
 

Definition at line 711 of file texture.cpp.

void glCopyTexSubImage2D GLenum    target,
int    level,
int    xoffset,
int    yoffset,
int    x,
int    y,
int    width,
int    height
 

Definition at line 719 of file texture.cpp.

void glDeleteTextures GLsizei    n,
const GLuint   textures
 

Definition at line 553 of file texture.cpp.

void glGenTextures GLsizei    n,
GLuint   textures
 

Definition at line 539 of file texture.cpp.

void glTexEnvf GLenum    target,
GLenum    pname,
GLfloat    param
 

Definition at line 688 of file texture.cpp.

void glTexEnvfv GLenum    target,
GLenum    pname,
GLfloat   param
 

Definition at line 693 of file texture.cpp.

void glTexEnvi GLenum    target,
GLenum    pname,
GLint    param
 

Definition at line 669 of file texture.cpp.

void glTexEnviv GLenum    target,
GLenum    pname,
GLint   param
 

Definition at line 698 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 559 of file texture.cpp.

void glTexParameterf GLenum    target,
GLenum    pname,
GLfloat    param
 

Definition at line 654 of file texture.cpp.

void glTexParameterfv GLenum    target,
GLenum    pname,
const GLfloat   params
 

Definition at line 664 of file texture.cpp.

void glTexParameteri GLenum    target,
GLenum    pname,
GLint    param
 

Definition at line 644 of file texture.cpp.

void glTexParameteriv GLenum    target,
GLenum    pname,
GLint   param
 

Definition at line 659 of file texture.cpp.

void glTexSubImage2D GLenum    target,
int    level,
int    xoffset,
int    yoffset,
int    width,
int    height,
GLenum    format,
GLenum    type,
const void *    pixels
 

Definition at line 703 of file texture.cpp.


ps2gl version cvs