Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class 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:

Go to the source code of this file.

Functions

NVNVB_API bool getPlugInterface (const nvutil::UPIID &piid, nvutil::PlugIn *&pi)
 Get the PlugIn interface for this scene loader.
NVNVB_API bool queryPlugInterfaceType (const nvutil::UPITID &pitid, std::vector< nvutil::UPIID > &piids)
 Query the supported types of PlugIn Interfaces.


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:44 2005 for NVSGSDK by NVIDIA