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

NVSGLoader.h File Reference

#include <fstream>
#include "CgFx/ICgFXEffect.h"
#include "nvsg/nvsgapi.h"
#include "nvsg/nvsg.h"
#include "nvsg/PlugInterface.h"
#include "nvsg/SkinnedTriangles.h"
#include "nvsg/TextureAttribute.h"

Include dependency graph for NVSGLoader.h:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  nvsg

Compounds

class  NVSGLoader
 A Scene Loader for nvsg files. More...


Functions

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

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


Detailed Description


Function Documentation

NVSGLOADER_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 NVSGLoader. If the PlugIn ID piid equals PIID_NVSG_SCENE_LOADER, a NVSGLoader is created and returned in pi.

Returns:
true, if the requested PlugIn could be created, otherwise false

NVSGLOADER_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_NVSG_SCENE_LOADER.

Returns:
true, if a PITID_SCENE_LOADER is requested, otherwise false


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