OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
Nif::NiPixelData Class Reference

#include <data.hpp>

Inheritance diagram for Nif::NiPixelData:
Collaboration diagram for Nif::NiPixelData:

Classes

struct  Mipmap
 

Public Types

enum  Format {
  NIPXFMT_RGB8, NIPXFMT_RGBA8, NIPXFMT_PAL8, NIPXFMT_DXT1,
  NIPXFMT_DXT3, NIPXFMT_DXT5, NIPXFMT_DXT5_ALT
}
 

Public Member Functions

void read (NIFStream *nif)
 Parses the record from file. More...
 
- Public Member Functions inherited from Nif::Record
 Record ()
 
virtual void post (NIFFile *nif)
 Does post-processing, after the entire tree is loaded. More...
 
virtual ~Record ()
 

Public Attributes

Format fmt
 
unsigned int rmask
 
unsigned int gmask
 
unsigned int bmask
 
unsigned int amask
 
int bpp
 
int mips
 
std::vector< Mipmapmipmaps
 
std::vector< unsigned char > data
 
- Public Attributes inherited from Nif::Record
int recType
 
std::string recName
 
size_t recIndex
 

Member Enumeration Documentation

Enumerator
NIPXFMT_RGB8 
NIPXFMT_RGBA8 
NIPXFMT_PAL8 
NIPXFMT_DXT1 
NIPXFMT_DXT3 
NIPXFMT_DXT5 
NIPXFMT_DXT5_ALT 

Member Function Documentation

void Nif::NiPixelData::read ( NIFStream nif)
virtual

Parses the record from file.

Implements Nif::Record.

Here is the call graph for this function:

Member Data Documentation

unsigned int Nif::NiPixelData::amask
unsigned int Nif::NiPixelData::bmask
int Nif::NiPixelData::bpp
std::vector<unsigned char> Nif::NiPixelData::data
Format Nif::NiPixelData::fmt
unsigned int Nif::NiPixelData::gmask
std::vector<Mipmap> Nif::NiPixelData::mipmaps
int Nif::NiPixelData::mips
unsigned int Nif::NiPixelData::rmask

The documentation for this class was generated from the following files: