|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.CompositionPass
public class CompositionPass
| Nested Class Summary | |
|---|---|
static class |
CompositionPass.InputTex
|
static class |
CompositionPass.PassType
|
| Nested classes/interfaces inherited from interface org.ogre4j.ICompositionPass |
|---|
ICompositionPass.IInputTex |
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
CompositionPass(ICompositionTargetPass parent)
|
|
CompositionPass(InstancePointer p)
This constructor is public for internal useage only! |
protected |
CompositionPass(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
CompositionPass(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
boolean |
_isSupported()
Determine if this target pass is supported on the current rendering device. |
void |
clearAllInputs()
Clear all inputs. |
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
long |
getClearBuffers()
Get the viewport clear buffers. |
IColourValue |
getClearColour()
Get the viewport clear colour (defaults to 0,0,0,0) |
float |
getClearDepth()
Get the viewport clear depth (defaults to 1.0) |
long |
getClearStencil()
Get the viewport clear stencil value (defaults to 0) |
short |
getFirstRenderQueue()
Get the first render queue to be rendered in this pass (inclusive) |
long |
getIdentifier()
Get the identifier for this pass |
ICompositionPass.IInputTex |
getInput(int id)
Get the value of an input. |
short |
getLastRenderQueue()
Get the last render queue to be rendered in this pass (inclusive) |
IMaterialPtr |
getMaterial()
Get the material used by this pass |
int |
getNumInputs()
Get the number of inputs used. |
ICompositionTargetPass |
getParent()
Get parent object |
boolean |
getQuadCorners(FloatPointer left,
FloatPointer top,
FloatPointer right,
FloatPointer bottom)
Get quad normalised positions [-1;1]x[-1;1] |
boolean |
getStencilCheck()
Get stencil check enable. |
StencilOperation |
getStencilDepthFailOp()
Get stencil depth fail operation. |
StencilOperation |
getStencilFailOp()
Get stencil fail operation. |
CompareFunction |
getStencilFunc()
Get stencil compare function. |
long |
getStencilMask()
Get stencil mask. |
StencilOperation |
getStencilPassOp()
Get stencil pass operation. |
long |
getStencilRefValue()
Get stencil reference value. |
boolean |
getStencilTwoSidedOperation()
Get two sided stencil operation. |
CompositionPass.PassType |
getType()
Get the type of composition pass |
void |
setClearBuffers(long val)
Set the viewport clear buffers (defaults to FBT_COLOUR|FBT_DEPTH) |
void |
setClearColour(IColourValue val)
Set the viewport clear colour (defaults to 0,0,0,0) |
void |
setClearDepth(float depth)
Set the viewport clear depth (defaults to 1.0) |
void |
setClearStencil(long value)
Set the viewport clear stencil value (defaults to 0) |
void |
setFirstRenderQueue(short id)
Set the first render queue to be rendered in this pass (inclusive) |
void |
setIdentifier(long id)
Set an identifier for this pass. |
void |
setInput(int id,
java.lang.String input,
int mrtIndex)
Set an input local texture. |
void |
setLastRenderQueue(short id)
Set the last render queue to be rendered in this pass (inclusive) |
void |
setMaterial(IMaterialPtr mat)
Set the material used by this pass |
void |
setMaterialName(java.lang.String name)
Set the material used by this pass |
void |
setQuadCorners(float left,
float top,
float right,
float bottom)
Set quad normalised positions [-1;1]x[-1;1] |
void |
setStencilCheck(boolean value)
Set stencil check on or off. |
void |
setStencilDepthFailOp(StencilOperation value)
Set stencil depth fail operation. |
void |
setStencilFailOp(StencilOperation value)
Set stencil fail operation. |
void |
setStencilFunc(CompareFunction value)
Set stencil compare function. |
void |
setStencilMask(long value)
Set stencil mask. |
void |
setStencilPassOp(StencilOperation value)
Set stencil pass operation. |
void |
setStencilRefValue(long value)
Set stencil reference value. |
void |
setStencilTwoSidedOperation(boolean value)
Set two sided stencil operation. |
void |
setType(CompositionPass.PassType type)
Set the type of composition pass |
| 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 CompositionPass(InstancePointer p)
protected CompositionPass(InstancePointer p,
boolean remote)
public CompositionPass(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public CompositionPass(ICompositionTargetPass parent)
| 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 setType(CompositionPass.PassType type)
setType in interface ICompositionPasspublic CompositionPass.PassType getType()
getType in interface ICompositionPasspublic void setIdentifier(long id)
setIdentifier in interface ICompositionPasspublic long getIdentifier()
getIdentifier in interface ICompositionPasspublic void setMaterial(IMaterialPtr mat)
setMaterial in interface ICompositionPasspublic void setMaterialName(java.lang.String name)
setMaterialName in interface ICompositionPasspublic IMaterialPtr getMaterial()
getMaterial in interface ICompositionPasspublic void setFirstRenderQueue(short id)
setFirstRenderQueue in interface ICompositionPasspublic short getFirstRenderQueue()
getFirstRenderQueue in interface ICompositionPasspublic void setLastRenderQueue(short id)
setLastRenderQueue in interface ICompositionPasspublic short getLastRenderQueue()
getLastRenderQueue in interface ICompositionPasspublic void setClearBuffers(long val)
setClearBuffers in interface ICompositionPasspublic long getClearBuffers()
getClearBuffers in interface ICompositionPasspublic void setClearColour(IColourValue val)
setClearColour in interface ICompositionPasspublic IColourValue getClearColour()
getClearColour in interface ICompositionPasspublic void setClearDepth(float depth)
setClearDepth in interface ICompositionPasspublic float getClearDepth()
getClearDepth in interface ICompositionPasspublic void setClearStencil(long value)
setClearStencil in interface ICompositionPasspublic long getClearStencil()
getClearStencil in interface ICompositionPasspublic void setStencilCheck(boolean value)
setStencilCheck in interface ICompositionPasspublic boolean getStencilCheck()
getStencilCheck in interface ICompositionPasspublic void setStencilFunc(CompareFunction value)
setStencilFunc in interface ICompositionPasspublic CompareFunction getStencilFunc()
getStencilFunc in interface ICompositionPasspublic void setStencilRefValue(long value)
setStencilRefValue in interface ICompositionPasspublic long getStencilRefValue()
getStencilRefValue in interface ICompositionPasspublic void setStencilMask(long value)
setStencilMask in interface ICompositionPasspublic long getStencilMask()
getStencilMask in interface ICompositionPasspublic void setStencilFailOp(StencilOperation value)
setStencilFailOp in interface ICompositionPasspublic StencilOperation getStencilFailOp()
getStencilFailOp in interface ICompositionPasspublic void setStencilDepthFailOp(StencilOperation value)
setStencilDepthFailOp in interface ICompositionPasspublic StencilOperation getStencilDepthFailOp()
getStencilDepthFailOp in interface ICompositionPasspublic void setStencilPassOp(StencilOperation value)
setStencilPassOp in interface ICompositionPasspublic StencilOperation getStencilPassOp()
getStencilPassOp in interface ICompositionPasspublic void setStencilTwoSidedOperation(boolean value)
setStencilTwoSidedOperation in interface ICompositionPasspublic boolean getStencilTwoSidedOperation()
getStencilTwoSidedOperation in interface ICompositionPass
public void setInput(int id,
java.lang.String input,
int mrtIndex)
setInput in interface ICompositionPasspublic ICompositionPass.IInputTex getInput(int id)
getInput in interface ICompositionPasspublic int getNumInputs()
getNumInputs in interface ICompositionPasspublic void clearAllInputs()
clearAllInputs in interface ICompositionPasspublic ICompositionTargetPass getParent()
getParent in interface ICompositionPasspublic boolean _isSupported()
_isSupported in interface ICompositionPass
public void setQuadCorners(float left,
float top,
float right,
float bottom)
setQuadCorners in interface ICompositionPass
public boolean getQuadCorners(FloatPointer left,
FloatPointer top,
FloatPointer right,
FloatPointer bottom)
getQuadCorners in interface ICompositionPass
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||