pgeTexture Struct Reference
[Texture Library]

#include <pgeTexture.h>


Data Fields

void * palette
enum pgePixelFormat palFormat
void * data
unsigned int size
unsigned int width
unsigned int height
unsigned int textureWidth
unsigned int textureHeight
unsigned int bits
enum pgePixelFormat format
char swizzled
enum pgeMemoryLocation location


Detailed Description

A texture struct

Field Documentation

Image palette.

Palette format - one of PGE_PIXEL_FORMAT_5650, PGE_PIXEL_FORMAT_5551, PGE_PIXEL_FORMAT_4444, PGE_PIXEL_FORMAT_8888.

Image data.

unsigned int pgeTexture::size

Size of data in bytes.

unsigned int pgeTexture::width

Image width.

unsigned int pgeTexture::height

Image height.

Texture width (power of two).

Texture height (power of two).

unsigned int pgeTexture::bits

Image bits per pixel.

Image format - one of pgePixelFormat.

Is image swizzled.


The documentation for this struct was generated from the following file:

Generated on Mon Sep 22 16:58:14 2008 for Phoenix Game Engine by  doxygen 1.5.5