org.ogre4j
Interface IManualResourceLoader

All Superinterfaces:
INativeObject
All Known Subinterfaces:
IFont, IMeshManager
All Known Implementing Classes:
Font, ManualResourceLoader, MeshManager

public interface IManualResourceLoader
extends INativeObject


Method Summary
 void loadResource(IResource resource)
          Called when a resource wishes to prepare.
 void prepareResource(IResource resource)
          Called when a resource wishes to load.
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

prepareResource

void prepareResource(IResource resource)
Called when a resource wishes to load. Note that this could get called in a background thread even in just a semithreaded ogre (OGRE_THREAD_SUPPORT==2). Thus, you must not access the rendersystem from this callback. Do that stuff in loadResource.


loadResource

void loadResource(IResource resource)
Called when a resource wishes to prepare.



Copyright © 2007 netAllied GmbH. All Rights Reserved.