|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.visioglobe.libVisioDevKit.VgIEngine
public class VgIEngine
This interface provides an entry-point to retrieve objects from the Visioglobe engine.
Field Summary | |
---|---|
protected boolean |
swigCMemOwn
|
Constructor Summary | |
---|---|
VgIEngine(long cPtr,
boolean cMemoryOwn)
|
Method Summary | |
---|---|
void |
addPostDrawCallback(VgIEnginePostDrawCallbackRefPtr pCallback)
This method is used to add a VgIEnginePostDrawCallback to the engine. |
void |
delete()
|
VgIAnimationManager |
editAnimationManager()
|
VgICamera |
editCamera()
|
VgIDatabase |
editDatabase()
|
VgFontManager |
editFontManager()
|
VgInstanceFactory |
editInstanceFactory()
|
VgLayerManager |
editLayerManager()
|
VgILicenseManager |
editLicenseManager()
|
VgLightRefPtr |
editLight(long pLightNum)
This method gives read-write access to one of the engine lights. |
VgIResourceManager |
editResourceManager()
|
VgITextureManager |
editTextureManager()
|
protected void |
finalize()
|
static long |
getCPtr(VgIEngine obj)
|
java.lang.String |
getErrorString(VgErrorCode pErrorCode)
|
VgErrorCode |
getLastError()
|
VgLightConstRefPtr |
getLight(long pLightNum)
This method gives read-only access to one of the engine lights. |
long |
getNumLights()
This method returns the number of lights in the scene. |
VgPositionToolbox |
getPositionToolbox()
|
VgPostDrawCallbacks |
getPostDrawCallbacks()
|
void |
reloadShaders()
This method causes the engine to reinstantiate the shaders from source files. |
void |
removePostDrawCallback(VgIEnginePostDrawCallbackRefPtr pCallback)
This method is used to remove a VgIEnginePostDrawCallback to the engine. |
void |
replaceNamedTexture(java.lang.String pResourceName,
VgITextureRefPtr pTexture)
This method is used to override a given texture resource (defined in the configuration file). |
void |
resetGraphicResources(boolean pIsContextLost)
Resets all the GPU graphic resources. |
void |
setClearColor(VgColor pClearColor)
This method is used to change the clear color of the view. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean swigCMemOwn
Constructor Detail |
---|
public VgIEngine(long cPtr, boolean cMemoryOwn)
Method Detail |
---|
public static long getCPtr(VgIEngine obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void addPostDrawCallback(VgIEnginePostDrawCallbackRefPtr pCallback)
pCallback
- the post draw callback.public void removePostDrawCallback(VgIEnginePostDrawCallbackRefPtr pCallback)
pCallback
- the post draw callback.public VgPostDrawCallbacks getPostDrawCallbacks()
public VgIDatabase editDatabase()
public VgICamera editCamera()
public VgILicenseManager editLicenseManager()
public VgITextureManager editTextureManager()
public VgIAnimationManager editAnimationManager()
public VgIResourceManager editResourceManager()
public VgLayerManager editLayerManager()
public VgInstanceFactory editInstanceFactory()
public VgFontManager editFontManager()
public VgPositionToolbox getPositionToolbox()
public VgErrorCode getLastError()
public java.lang.String getErrorString(VgErrorCode pErrorCode)
public void resetGraphicResources(boolean pIsContextLost)
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.public void reloadShaders()
public VgLightConstRefPtr getLight(long pLightNum)
pLightNum
- The index of the queried light.
public VgLightRefPtr editLight(long pLightNum)
pLightNum
- The index of the queried light.
public long getNumLights()
public void replaceNamedTexture(java.lang.String pResourceName, VgITextureRefPtr pTexture)
pResourceName
- the name of the texture resource to override.pTexture
- The texture to override with.public void setClearColor(VgColor pClearColor)
pClearColor
- The new color to use for screen clearing.
|
VisioDevKit 2.0, Visioglobe® 2013 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |