ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

A texture resource. More...

#include <textureset.h>

Inheritance diagram for Stark::Resources::TextureSet:
Collaboration diagram for Stark::Resources::TextureSet:

List of all members.

Public Types

enum  SubType { kTextureNormal = 1, kTextureFace = 2 }

Public Member Functions

 TextureSet (Object *parent, byte subType, uint16 index, const Common::String &name)
 ~TextureSet () override
void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
void onPostRead () override
 Called when the node's initialization is complete.
Gfx::TextureSetgetTexture ()
 Obtain the texture to be rendered.
void extractArchive ()
 Extract the texture set archive to the dump directory relative to the current directory.

Static Public Attributes

static const Type::ResourceType TYPE = Type::kTextureSet

Protected Member Functions

void printData () override
Gfx::TextureSetreadOverrideDdsArchive ()

Protected Attributes

Common::String _filename
Common::String _archiveName
Gfx::TextureSet_textureSet

Detailed Description

A texture resource.

Used by items to provide textures to meshes

Definition at line 47 of file textureset.h.


Member Enumeration Documentation

Enumerator:
kTextureNormal 
kTextureFace 

Definition at line 51 of file textureset.h.


Constructor & Destructor Documentation

Stark::Resources::TextureSet::TextureSet ( Object parent,
byte  subType,
uint16  index,
const Common::String name 
)

Definition at line 49 of file textureset.cpp.

Stark::Resources::TextureSet::~TextureSet (  )  [override]

Definition at line 45 of file textureset.cpp.


Member Function Documentation

void Stark::Resources::TextureSet::extractArchive (  ) 

Extract the texture set archive to the dump directory relative to the current directory.

Definition at line 85 of file textureset.cpp.

Gfx::TextureSet * Stark::Resources::TextureSet::getTexture (  ) 

Obtain the texture to be rendered.

Definition at line 55 of file textureset.cpp.

void Stark::Resources::TextureSet::onPostRead (  )  [override, virtual]

Called when the node's initialization is complete.

Allows to load additional data from file.

Reimplemented from Stark::Resources::Object.

Definition at line 64 of file textureset.cpp.

void Stark::Resources::TextureSet::printData (  )  [override, protected, virtual]

Reimplemented from Stark::Resources::Object.

Definition at line 187 of file textureset.cpp.

void Stark::Resources::TextureSet::readData ( Formats::XRCReadStream stream  )  [override, virtual]

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Object.

Definition at line 59 of file textureset.cpp.

Gfx::TextureSet * Stark::Resources::TextureSet::readOverrideDdsArchive (  )  [protected]

Definition at line 120 of file textureset.cpp.


Member Data Documentation

Definition at line 73 of file textureset.h.

const Type::ResourceType Stark::Resources::TextureSet::TYPE = Type::kTextureSet [static]

Definition at line 49 of file textureset.h.


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


Generated on Sat Sep 21 2019 05:04:38 for ResidualVM by doxygen 1.7.1
curved edge   curved edge