|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMaterialManager
| Nested Class Summary | |
|---|---|
static interface |
IMaterialManager.IListener
|
static interface |
IMaterialManager.IListenerList
|
static interface |
IMaterialManager.ISchemeMap
|
| Nested classes/interfaces inherited from interface org.ogre4j.IResourceManager |
|---|
IResourceManager.IResourceCreateOrRetrieveResult, IResourceManager.IResourceHandleMap, IResourceManager.IResourceMap, IResourceManager.IResourceMapIterator |
| Method Summary | |
|---|---|
ITechnique |
_arbitrateMissingTechniqueForActiveScheme(IMaterial mat,
int lodIndex,
IRenderable rend)
|
int |
_getActiveSchemeIndex()
Internal method - returns the active scheme index. |
int |
_getSchemeIndex(java.lang.String name)
Internal method - returns index for a given material scheme name. |
java.lang.String |
_getSchemeName(int index)
Internal method - returns name for a given material scheme index. |
void |
addListener(IMaterialManager.IListener l)
Add a listener to handle material events. |
java.lang.String |
getActiveScheme()
Returns the name of the active material scheme. |
long |
getDefaultAnisotropy()
|
void |
getDefaultSettings(IMaterialPtr returnValue)
Returns a pointer to the default settings. |
FilterOptions |
getDefaultTextureFiltering(FilterType ftype)
|
void |
initialise()
Initialises the material manager, which also triggers it to parse all available .program and .material scripts. |
void |
parseScript(IDataStreamPtr stream,
java.lang.String groupName)
Parse the definition of a set of resources from a script file. |
void |
removeListener(IMaterialManager.IListener l)
Remove a listener handling material events. |
void |
setActiveScheme(java.lang.String schemeName)
Sets the name of the active material scheme. |
void |
setDefaultAnisotropy(long maxAniso)
Sets the default anisotropy level to be used for loaded textures, for when textures are loaded automatically (e.g. by class) or when 'load' is called with the default parameters by the application. |
void |
setDefaultTextureFiltering(FilterOptions minFilter,
FilterOptions magFilter,
FilterOptions mipFilter)
Sets the default texture filtering to be used for loaded textures, for when textures are loaded automatically (e.g. by class) or when 'load' is called with the default parameters by the application. |
void |
setDefaultTextureFiltering(FilterType ftype,
FilterOptions opts)
Sets the default texture filtering to be used for loaded textures, for when textures are loaded automatically (e.g. by class) or when 'load' is called with the default parameters by the application. |
void |
setDefaultTextureFiltering(TextureFilterOptions fo)
Sets the default texture filtering to be used for loaded textures, for when textures are loaded automatically (e.g. by class) or when 'load' is called with the default parameters by the application. |
| Methods inherited from interface org.ogre4j.IResourceManager |
|---|
_notifyResourceLoaded, _notifyResourceTouched, _notifyResourceUnloaded, create, createOrRetrieve, getByHandle, getByName, getLoadingOrder, getMemoryBudget, getMemoryUsage, getResourceIterator, getResourceType, getScriptPatterns, getVerbose, load, prepare, reloadAll, reloadUnreferencedResources, remove, remove, remove, removeAll, resourceExists, resourceExists, setMemoryBudget, setVerbose, unload, unload, unloadAll, unloadUnreferencedResources |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void initialise()
void parseScript(IDataStreamPtr stream,
java.lang.String groupName)
IResourceManager
parseScript in interface IResourceManagerparseScript in interface IScriptLoadervoid setDefaultTextureFiltering(TextureFilterOptions fo)
void setDefaultTextureFiltering(FilterType ftype,
FilterOptions opts)
void setDefaultTextureFiltering(FilterOptions minFilter,
FilterOptions magFilter,
FilterOptions mipFilter)
FilterOptions getDefaultTextureFiltering(FilterType ftype)
void setDefaultAnisotropy(long maxAniso)
long getDefaultAnisotropy()
void getDefaultSettings(IMaterialPtr returnValue)
int _getSchemeIndex(java.lang.String name)
java.lang.String _getSchemeName(int index)
int _getActiveSchemeIndex()
java.lang.String getActiveScheme()
void setActiveScheme(java.lang.String schemeName)
void addListener(IMaterialManager.IListener l)
void removeListener(IMaterialManager.IListener l)
ITechnique _arbitrateMissingTechniqueForActiveScheme(IMaterial mat,
int lodIndex,
IRenderable rend)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||