ScummVM API documentation
Stark::Formats::DDS Class Reference

#include <dds.h>

Public Types

typedef Common::Array< Graphics::SurfaceMipMaps
 

Public Member Functions

bool load (Common::SeekableReadStream &dds, const Common::String &name)
 
const MipMapsgetMipMaps () const
 

Detailed Description

DDS texture

Only a very small subset of DDS features are supported. Especially, compressed formats are not supported. This class is meant to load a single DDS file per instance.

Member Function Documentation

◆ load()

bool Stark::Formats::DDS::load ( Common::SeekableReadStream dds,
const Common::String name 
)

Load a DDS texture from a stream

◆ getMipMaps()

const MipMaps& Stark::Formats::DDS::getMipMaps ( ) const

Retrieve the mip map levels for a loaded texture

The first mipmap is the full size image. Each further mipmap divides by two the with and the height of the previous one.


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