xoreos  0.0.5
Namespaces | Variables
tpc.cpp File Reference

TPC (BioWare's own texture format) loading. More...

#include <cstring>
#include "src/common/scopedptr.h"
#include "src/common/util.h"
#include "src/common/maths.h"
#include "src/common/error.h"
#include "src/common/memreadstream.h"
#include "src/graphics/images/tpc.h"
#include "src/graphics/images/util.h"
Include dependency graph for tpc.cpp:

Go to the source code of this file.

Namespaces

 Graphics
 

Variables

static const byte kEncodingGray = 0x01
 
static const byte kEncodingRGB = 0x02
 
static const byte kEncodingRGBA = 0x04
 
static const byte kEncodingSwizzledBGRA = 0x0C
 

Detailed Description

TPC (BioWare's own texture format) loading.

Definition in file tpc.cpp.

Variable Documentation

◆ kEncodingGray

const byte kEncodingGray = 0x01
static

Definition at line 36 of file tpc.cpp.

Referenced by Graphics::TPC::readData(), and Graphics::TPC::readHeader().

◆ kEncodingRGB

const byte kEncodingRGB = 0x02
static

Definition at line 37 of file tpc.cpp.

Referenced by Graphics::TPC::readHeader().

◆ kEncodingRGBA

const byte kEncodingRGBA = 0x04
static

Definition at line 38 of file tpc.cpp.

Referenced by Graphics::TPC::readHeader().

◆ kEncodingSwizzledBGRA

const byte kEncodingSwizzledBGRA = 0x0C
static

Definition at line 39 of file tpc.cpp.

Referenced by Graphics::TPC::readData(), and Graphics::TPC::readHeader().