xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Graphics::Aurora::Model_Jade::ParserContext Struct Reference
Collaboration diagram for Graphics::Aurora::Model_Jade::ParserContext:
Collaboration graph
[legend]

Public Member Functions

 ParserContext (const Common::UString &name, const Common::UString &t)
 
 ~ParserContext ()
 
void clear ()
 
void newNode ()
 

Public Attributes

Common::SeekableReadStreammdl
 
Common::SeekableReadStreammdx
 
Common::UString mdlName
 
State * state
 
std::list< ModelNode_Jade * > nodes
 
Common::UString texture
 
uint32 offModelData
 
uint32 mdlSize
 
uint32 mdxSizeVertices
 
uint32 mdxSizeFaces
 
uint32 mdxSize3
 
std::vector< Common::UStringnames
 
std::vector< float > vertices
 
std::vector< uint16indices
 
std::vector< Common::UStringtextures
 
std::vector< std::vector< float > > texCoords
 

Detailed Description

Definition at line 49 of file model_jade.h.

Constructor & Destructor Documentation

◆ ParserContext()

Graphics::Aurora::Model_Jade::ParserContext::ParserContext ( const Common::UString name,
const Common::UString t 
)

Definition at line 94 of file model_jade.cpp.

References Common::UString::c_str(), Aurora::kFileTypeMDL, Aurora::kFileTypeMDX, mdl, mdx, and ResMan.

Here is the call graph for this function:

◆ ~ParserContext()

Graphics::Aurora::Model_Jade::ParserContext::~ParserContext ( )

Definition at line 112 of file model_jade.cpp.

Member Function Documentation

◆ clear()

void Graphics::Aurora::Model_Jade::ParserContext::clear ( )

Definition at line 119 of file model_jade.cpp.

Referenced by Graphics::Aurora::Model_Jade::addState(), and Graphics::Aurora::Model_Jade::newState().

Here is the caller graph for this function:

◆ newNode()

void Graphics::Aurora::Model_Jade::ParserContext::newNode ( )

Definition at line 130 of file model_jade.cpp.

Referenced by Graphics::Aurora::ModelNode_Jade::load().

Here is the caller graph for this function:

Member Data Documentation

◆ indices

std::vector<uint16> Graphics::Aurora::Model_Jade::ParserContext::indices

◆ mdl

Common::SeekableReadStream* Graphics::Aurora::Model_Jade::ParserContext::mdl

◆ mdlName

Common::UString Graphics::Aurora::Model_Jade::ParserContext::mdlName

◆ mdlSize

uint32 Graphics::Aurora::Model_Jade::ParserContext::mdlSize

Definition at line 63 of file model_jade.h.

Referenced by Graphics::Aurora::Model_Jade::load().

◆ mdx

Common::SeekableReadStream* Graphics::Aurora::Model_Jade::ParserContext::mdx

Definition at line 51 of file model_jade.h.

Referenced by ParserContext(), and Graphics::Aurora::ModelNode_Jade::readMesh().

◆ mdxSize3

uint32 Graphics::Aurora::Model_Jade::ParserContext::mdxSize3

Definition at line 67 of file model_jade.h.

Referenced by Graphics::Aurora::Model_Jade::load().

◆ mdxSizeFaces

uint32 Graphics::Aurora::Model_Jade::ParserContext::mdxSizeFaces

Definition at line 66 of file model_jade.h.

Referenced by Graphics::Aurora::Model_Jade::load().

◆ mdxSizeVertices

uint32 Graphics::Aurora::Model_Jade::ParserContext::mdxSizeVertices

Definition at line 65 of file model_jade.h.

Referenced by Graphics::Aurora::Model_Jade::load().

◆ names

std::vector<Common::UString> Graphics::Aurora::Model_Jade::ParserContext::names

◆ nodes

std::list<ModelNode_Jade *> Graphics::Aurora::Model_Jade::ParserContext::nodes

◆ offModelData

uint32 Graphics::Aurora::Model_Jade::ParserContext::offModelData

◆ state

State* Graphics::Aurora::Model_Jade::ParserContext::state

◆ texCoords

std::vector<std::vector<float> > Graphics::Aurora::Model_Jade::ParserContext::texCoords

◆ texture

Common::UString Graphics::Aurora::Model_Jade::ParserContext::texture

Definition at line 59 of file model_jade.h.

◆ textures

std::vector<Common::UString> Graphics::Aurora::Model_Jade::ParserContext::textures

◆ vertices

std::vector<float> Graphics::Aurora::Model_Jade::ParserContext::vertices

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