Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

NVBLoader.h File Reference

#include "nvsg/PlugInterface.h"
#include "nvutil/Tools.h"
#include "inc/NVNVB.h"
#include "inc/NVNVB2.h"

Include dependency graph for NVBLoader.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  NVBLoader
 A Scene Loader for nvb files. More...


Functions

NVNVB_API bool getPlugInterface (const nvutil::UPIID &piid, nvutil::PlugIn *&pi)
 Get the PlugIn interface for this scene loader. More...

NVNVB_API bool queryPlugInterfaceType (const nvutil::UPITID &pitid, std::vector< nvutil::UPIID > &piids)
 Query the supported types of PlugIn Interfaces. More...


Detailed Description


Function Documentation

NVNVB_API bool getPlugInterface const nvutil::UPIID   piid,
nvutil::PlugIn *&    pi
 

Get the PlugIn interface for this scene loader.

Every PlugIn has to resolve this function. It is used to get a pointer to a PlugIn class, in this case a NVBLoader. If the PlugIn ID piid equals PIID_NVB_SCENE_LOADER, a NVBLoader is created and returned in pi.

Returns:
true, if the requested PlugIn could be created, otherwise false
Parameters:
piid  PlugIn ID to create an Interface for
pi  reference to a PlugIn pointer

NVNVB_API bool queryPlugInterfaceType const nvutil::UPITID   pitid,
std::vector< nvutil::UPIID > &    piids
 

Query the supported types of PlugIn Interfaces.

Every PlugIn has to resolve this function. It is used to query the supported Interface types of this PlugIn. If the Plug In Type ID pitid equals PITID_SCENE_LOADER, the vector piids is filled with one element PIID_NVB_SCENE_LOADER.

Returns:
true, if a PITID_SCENE_LOADER is requested, otherwise false
Parameters:
pitid  PlugIn Type ID to query
piids  vector of PlugIn IDs to fill


Generated on Tue Mar 1 13:19:39 2005 for NVSGSDK by NVIDIA