VisioDevKit
v2.0
|
This interface provides an entry-point to retrieve objects from the Visioglobe engine. More...
Public Member Functions | |
virtual | ~VgIEngine () |
Destructor. More... | |
virtual void | addPostDrawCallback (VgEngine::VgRefPtr< VgEngine::VgIEnginePostDrawCallback >const &pCallback)=0 |
This method is used to add a VgIEnginePostDrawCallback to the engine. More... | |
virtual void | removePostDrawCallback (VgEngine::VgRefPtr< VgEngine::VgIEnginePostDrawCallback >const &pCallback)=0 |
This method is used to remove a VgIEnginePostDrawCallback to the engine. More... | |
virtual const std::vector < VgEngine::VgRefPtr < VgEngine::VgIEnginePostDrawCallback > > & | getPostDrawCallbacks () const =0 |
virtual VgIDatabase * | editDatabase ()=0 |
virtual VgICamera * | editCamera ()=0 |
virtual VgILicenseManager * | editLicenseManager ()=0 |
virtual VgITextureManager * | editTextureManager ()=0 |
virtual VgIAnimationManager * | editAnimationManager ()=0 |
virtual VgIResourceManager * | editResourceManager ()=0 |
virtual VgLayerManager * | editLayerManager ()=0 |
virtual VgInstanceFactory * | editInstanceFactory ()=0 |
virtual VgFontManager * | editFontManager ()=0 |
virtual const VgPositionToolbox * | getPositionToolbox ()=0 |
virtual VgErrorCode | getLastError () const =0 |
virtual const std::string & | getErrorString (VgErrorCode pErrorCode) const =0 |
virtual void | resetGraphicResources (bool pIsContextLost)=0 |
Resets all the GPU graphic resources. More... | |
virtual void | reloadShaders ()=0 |
This method causes the engine to reinstantiate the shaders from source files. More... | |
virtual VgConstRefPtr< VgLight > | getLight (UInt pLightNum) const =0 |
This method gives read-only access to one of the engine lights. More... | |
virtual VgRefPtr< VgLight > | editLight (UInt pLightNum)=0 |
This method gives read-write access to one of the engine lights. More... | |
virtual UInt | getNumLights () const =0 |
This method returns the number of lights in the scene. More... | |
virtual void | replaceNamedTexture (const std::string &pResourceName, VgEngine::VgRefPtr< VgEngine::VgITexture > &pTexture)=0 |
This method is used to override a given texture resource (defined in the configuration file). More... | |
virtual void | setClearColor (const VgEngine::VgColor &pClearColor)=0 |
This method is used to change the clear color of the view. More... | |
Protected Member Functions | |
VgIEngine () | |
Constructor. More... | |
This interface provides an entry-point to retrieve objects from the Visioglobe engine.
|
inlineprotected |
Constructor.
|
inlinevirtual |
Destructor.
|
pure virtual |
This method is used to add a VgIEnginePostDrawCallback to the engine.
pCallback | the post draw callback. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
This method gives read-write access to one of the engine lights.
pLightNum | The index of the queried light. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
This method gives read-only access to one of the engine lights.
pLightNum | The index of the queried light. |
|
pure virtual |
This method returns the number of lights in the scene.
|
pure virtual |
|
pure virtual |
|
pure virtual |
This method causes the engine to reinstantiate the shaders from source files.
|
pure virtual |
This method is used to remove a VgIEnginePostDrawCallback to the engine.
pCallback | the post draw callback. |
|
pure virtual |
This method is used to override a given texture resource (defined in the configuration file).
If a resource exists by that name, it is replaced by the provided texture instance and all items in the scene referencing it are updated. If there is no matching texture nothing happens.
pResourceName | the name of the texture resource to override. |
pTexture | The texture to override with. |
|
pure virtual |
Resets all the GPU graphic resources.
pIsContextLost | Use true to specify that the context has been lost, false otherwise. Note: if the context was not lost and you specify true, it will produce memory leaks in the GPU. |
|
pure virtual |
This method is used to change the clear color of the view.
This has no effect if an opaque background image is used.
pClearColor | The new color to use for screen clearing. |