|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.ExternalTextureSource
public class ExternalTextureSource
| Nested Class Summary | |
|---|---|
static class |
ExternalTextureSource.CmdFPS
|
static class |
ExternalTextureSource.CmdInputFileName
|
static class |
ExternalTextureSource.CmdPlayMode
|
static class |
ExternalTextureSource.CmdTecPassState
|
| Nested classes/interfaces inherited from interface org.ogre4j.IExternalTextureSource |
|---|
IExternalTextureSource.ICmdFPS, IExternalTextureSource.ICmdInputFileName, IExternalTextureSource.ICmdPlayMode, IExternalTextureSource.ICmdTecPassState |
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
ExternalTextureSource(InstancePointer p)
This constructor is public for internal useage only! |
protected |
ExternalTextureSource(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
ExternalTextureSource(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
addBaseParams()
Call from derived classes to ensure the dictionary is setup |
static void |
cleanupDictionary()
Cleans up the static 'msDictionary' required to reset , otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the implementers (e.g. ) initializes. |
void |
copyParametersTo(IStringInterface dest)
Method for copying this object's parameters to another object. |
void |
createDefinedTexture(java.lang.String sMaterialName,
java.lang.String groupName)
Creates a texture into an already defined material or one that is created new (it's up to plugin to use a material or create one) Before calling, ensure that needed params have been defined via the stringInterface or regular methods |
void |
delete()
Deletes the corresponding C++ object. |
void |
destroyAdvancedTexture(java.lang.String sTextureName,
java.lang.String groupName)
What this destroys is dependent on the plugin... |
void |
finalize()
|
java.lang.String |
getDictionaryStringName()
Returns dictionary name |
int |
getFPS()
|
java.lang.String |
getInputName()
|
IParamDictionary |
getParamDictionary_const()
|
IParamDictionary |
getParamDictionary()
Retrieves the parameter dictionary for this class. |
java.lang.String |
getParameter(java.lang.String name)
Generic parameter retrieval method. |
IParameterList |
getParameters()
Retrieves a list of parameters valid for this object. |
eTexturePlayMode |
getPlayMode()
|
java.lang.String |
getPlugInStringName()
Returns the string name of this PlugIn (as set by the PlugIn) |
void |
getTextureTecPassStateLevel(IntegerPointer t,
IntegerPointer p,
IntegerPointer s)
|
boolean |
initialise()
Call this function from manager to init system |
void |
setFPS(int iFPS)
|
void |
setInputName(java.lang.String sIN)
|
boolean |
setParameter(java.lang.String name,
java.lang.String value)
Generic parameter setting method. |
void |
setParameterList(INameValuePairList paramList)
Generic multiple parameter setting method. |
void |
setPlayMode(eTexturePlayMode eMode)
|
void |
setTextureTecPassStateLevel(int t,
int p,
int s)
|
void |
shutDown()
Shuts down PlugIn |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public ExternalTextureSource(InstancePointer p)
protected ExternalTextureSource(InstancePointer p,
boolean remote)
public ExternalTextureSource(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic void setInputName(java.lang.String sIN)
setInputName in interface IExternalTextureSourcepublic java.lang.String getInputName()
getInputName in interface IExternalTextureSourcepublic void setFPS(int iFPS)
setFPS in interface IExternalTextureSourcepublic int getFPS()
getFPS in interface IExternalTextureSourcepublic void setPlayMode(eTexturePlayMode eMode)
setPlayMode in interface IExternalTextureSourcepublic eTexturePlayMode getPlayMode()
getPlayMode in interface IExternalTextureSource
public void setTextureTecPassStateLevel(int t,
int p,
int s)
setTextureTecPassStateLevel in interface IExternalTextureSource
public void getTextureTecPassStateLevel(IntegerPointer t,
IntegerPointer p,
IntegerPointer s)
getTextureTecPassStateLevel in interface IExternalTextureSourcepublic void addBaseParams()
addBaseParams in interface IExternalTextureSourcepublic java.lang.String getPlugInStringName()
getPlugInStringName in interface IExternalTextureSourcepublic java.lang.String getDictionaryStringName()
getDictionaryStringName in interface IExternalTextureSourcepublic boolean initialise()
initialise in interface IExternalTextureSourcepublic void shutDown()
shutDown in interface IExternalTextureSource
public void createDefinedTexture(java.lang.String sMaterialName,
java.lang.String groupName)
createDefinedTexture in interface IExternalTextureSource
public void destroyAdvancedTexture(java.lang.String sTextureName,
java.lang.String groupName)
destroyAdvancedTexture in interface IExternalTextureSourcepublic IParamDictionary getParamDictionary()
getParamDictionary in interface IStringInterfacepublic IParamDictionary getParamDictionary_const()
getParamDictionary_const in interface IStringInterfacepublic IParameterList getParameters()
getParameters in interface IStringInterface
public boolean setParameter(java.lang.String name,
java.lang.String value)
setParameter in interface IStringInterfacepublic void setParameterList(INameValuePairList paramList)
setParameterList in interface IStringInterfacepublic java.lang.String getParameter(java.lang.String name)
getParameter in interface IStringInterfacepublic void copyParametersTo(IStringInterface dest)
copyParametersTo in interface IStringInterfacepublic static void cleanupDictionary()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||