|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.CompositorInstance
public class CompositorInstance
| Nested Class Summary | |
|---|---|
static class |
CompositorInstance.CompiledState
|
static class |
CompositorInstance.Listener
|
static class |
CompositorInstance.QuadMaterialMap
|
static class |
CompositorInstance.RenderSystemOperation
|
static class |
CompositorInstance.RenderSystemOpPair
|
static class |
CompositorInstance.RenderSystemOpPairs
|
static class |
CompositorInstance.TargetOperation
|
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
CompositorInstance(ICompositor filter,
ICompositionTechnique technique,
ICompositorChain chain)
|
|
CompositorInstance(InstancePointer p)
This constructor is public for internal useage only! |
protected |
CompositorInstance(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
CompositorInstance(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
_compileOutputOperation(ICompositorInstance.ITargetOperation finalState)
Compile the final (output) operation. |
void |
_compileTargetOperations(ICompositorInstance.ICompiledState compiledState)
Recursively collect target states (except for final ). |
void |
_fireNotifyMaterialRender(long pass_id,
IMaterialPtr mat)
Notify listeners of a material render. |
void |
_fireNotifyMaterialSetup(long pass_id,
IMaterialPtr mat)
Notify listeners of a material compilation. |
void |
addListener(ICompositorInstance.IListener l)
Add a listener. |
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
ICompositorChain |
getChain()
Get Chain that this instance is part of |
ICompositor |
getCompositor()
Get of which this is an instance |
boolean |
getEnabled()
Get enabled flag. |
IRenderTarget |
getRenderTarget(java.lang.String name)
Get the render target for a given render texture name. |
ICompositionTechnique |
getTechnique()
Get used by this instance |
java.lang.String |
getTextureInstanceName(java.lang.String name,
int mrtIndex)
Get the instance name for a local texture. |
void |
removeListener(ICompositorInstance.IListener l)
Remove a listener. |
void |
setEnabled(boolean value)
Set enabled flag. |
| 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 CompositorInstance(InstancePointer p)
protected CompositorInstance(InstancePointer p,
boolean remote)
public CompositorInstance(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()
public CompositorInstance(ICompositor filter,
ICompositionTechnique technique,
ICompositorChain chain)
| 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 setEnabled(boolean value)
setEnabled in interface ICompositorInstancepublic boolean getEnabled()
getEnabled in interface ICompositorInstance
public java.lang.String getTextureInstanceName(java.lang.String name,
int mrtIndex)
getTextureInstanceName in interface ICompositorInstancepublic IRenderTarget getRenderTarget(java.lang.String name)
getRenderTarget in interface ICompositorInstancepublic void _compileTargetOperations(ICompositorInstance.ICompiledState compiledState)
_compileTargetOperations in interface ICompositorInstancepublic void _compileOutputOperation(ICompositorInstance.ITargetOperation finalState)
_compileOutputOperation in interface ICompositorInstancepublic ICompositor getCompositor()
getCompositor in interface ICompositorInstancepublic ICompositionTechnique getTechnique()
getTechnique in interface ICompositorInstancepublic ICompositorChain getChain()
getChain in interface ICompositorInstancepublic void addListener(ICompositorInstance.IListener l)
addListener in interface ICompositorInstancepublic void removeListener(ICompositorInstance.IListener l)
removeListener in interface ICompositorInstance
public void _fireNotifyMaterialSetup(long pass_id,
IMaterialPtr mat)
_fireNotifyMaterialSetup in interface ICompositorInstance
public void _fireNotifyMaterialRender(long pass_id,
IMaterialPtr mat)
_fireNotifyMaterialRender in interface ICompositorInstance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||