KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
pvr-texture.c File Reference
#include <kos.h>
#include <KGL/gl.h>
#include <KGL/glu.h>

Macros

#define PVR_HDR_SIZE   0x20
 

Functions

static GLuint PVR_TextureHeight (unsigned char *HDR)
 
static GLuint PVR_TextureWidth (unsigned char *HDR)
 
static GLuint PVR_TextureFormat (unsigned char *HDR)
 
static GLuint PVR_TextureColor (unsigned char *HDR)
 
GLuint glTextureLoadPVR (char *fname, unsigned char isMipMapped, unsigned char glMipMap)
 

Macro Definition Documentation

◆ PVR_HDR_SIZE

#define PVR_HDR_SIZE   0x20

Function Documentation

◆ glTextureLoadPVR()

GLuint glTextureLoadPVR ( char * fname,
unsigned char isMipMapped,
unsigned char glMipMap )

◆ PVR_TextureColor()

static GLuint PVR_TextureColor ( unsigned char * HDR)
static

◆ PVR_TextureFormat()

static GLuint PVR_TextureFormat ( unsigned char * HDR)
static

◆ PVR_TextureHeight()

static GLuint PVR_TextureHeight ( unsigned char * HDR)
static

References PVR_HDR_SIZE.

◆ PVR_TextureWidth()

static GLuint PVR_TextureWidth ( unsigned char * HDR)
static

References PVR_HDR_SIZE.