|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.Pass
public class Pass
| Nested Class Summary | |
|---|---|
static class |
Pass.BuiltinHashFunction
|
static class |
Pass.ConstTextureUnitStateIterator
|
protected static class |
Pass.ContentTypeLookup
|
static class |
Pass.HashFunc
|
static class |
Pass.PassSet
|
static class |
Pass.TextureUnitStateIterator
|
protected static class |
Pass.TextureUnitStates
|
| Nested classes/interfaces inherited from interface org.ogre4j.IPass |
|---|
IPass.IConstTextureUnitStateIterator, IPass.IContentTypeLookup, IPass.IHashFunc, IPass.IPassSet, IPass.ITextureUnitStateIterator, IPass.ITextureUnitStates |
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
Pass(InstancePointer p)
This constructor is public for internal useage only! |
protected |
Pass(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
Pass(ITechnique parent,
int index)
|
|
Pass(ITechnique parent,
int index,
IPass oth)
|
|
Pass(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
_dirtyHash()
|
int |
_getTextureUnitWithContentTypeIndex(TextureUnitState.ContentType contentType,
int index)
Gets the 'nth' texture which references the given content type. |
void |
_load()
Internal method for loading this pass. |
void |
_notifyIndex(int index)
Internal method to adjust pass index. |
void |
_notifyNeedsRecompile()
Tells the pass that it needs recompilation. |
void |
_prepare()
Internal method for preparing to load this pass. |
void |
_recalculateHash()
Internal method for recalculating the hash. |
IPass |
_split(int numUnits)
Splits this to one which can be handled in the number of texture units specified. |
void |
_unload()
Internal method for unloading this pass. |
void |
_unprepare()
Internal method for undoing the load preparartion for this pass. |
void |
_updateAutoParamsLightsOnly(IAutoParamDataSource source)
Update any automatic light parameters on this pass |
void |
_updateAutoParamsNoLights(IAutoParamDataSource source)
Update any automatic parameters (except lights) on this pass |
void |
addTextureUnitState(ITextureUnitState state)
Adds the passed in , to the existing . |
boolean |
applyTextureAliases(IAliasTextureNamePairList aliasList,
boolean apply)
Applies texture names to Unit State with matching texture name aliases. |
static void |
clearDirtyHashList()
Static method to reset the list of passes which need their hash values recalculated. |
ITextureUnitState |
createTextureUnitState()
Inserts a new object into the . |
ITextureUnitState |
createTextureUnitState(java.lang.String textureName,
int texCoordSet)
Inserts a new object into the . |
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
CompareFunction |
getAlphaRejectFunction()
Gets the alpha reject function. |
short |
getAlphaRejectValue()
Gets the alpha reject value. |
IColourValue |
getAmbient()
Gets the ambient colour reflectance of the pass. |
boolean |
getColourWriteEnabled()
Determines if colour buffer writing is enabled for this pass. |
CullingMode |
getCullingMode()
Returns the culling mode for geometry rendered with this pass. |
float |
getDepthBiasConstant()
Retrieves the const depth bias value as set by setDepthBias. |
float |
getDepthBiasSlopeScale()
Retrieves the slope-scale depth bias value as set by setDepthBias. |
boolean |
getDepthCheckEnabled()
Returns whether or not this pass renders with depth-buffer checking on or not. |
CompareFunction |
getDepthFunction()
Returns the function used to compare depth values when depth checking is on. |
boolean |
getDepthWriteEnabled()
Returns whether or not this pass renders with depth-buffer writing on or not. |
SceneBlendFactor |
getDestBlendFactor()
Retrieves the destination blending factor for the material (as set using Materiall::setSceneBlending). |
SceneBlendFactor |
getDestBlendFactorAlpha()
Retrieves the alpha destination blending factor for the material (as set using Materiall::setSeparateSceneBlending). |
IColourValue |
getDiffuse()
Gets the diffuse colour reflectance of the pass. |
static IPass.IPassSet |
getDirtyHashList()
Static method to retrieve all the Passes which need their hash values recalculated. |
IColourValue |
getFogColour()
Returns the fog colour for the scene. |
float |
getFogDensity()
Returns the fog density for this pass. |
float |
getFogEnd()
Returns the fog end distance for this pass. |
FogMode |
getFogMode()
Returns the fog mode for this pass. |
boolean |
getFogOverride()
Returns true if this pass is to override the scene fog settings. |
float |
getFogStart()
Returns the fog start distance for this pass. |
IGpuProgramPtr |
getFragmentProgram()
Gets the fragment program used by this pass, only available after . |
java.lang.String |
getFragmentProgramName()
Gets the name of the fragment program used by this pass. |
void |
getFragmentProgramParameters(IGpuProgramParametersSharedPtr returnValue)
Gets the fragment program parameters used by this pass. |
IGpuProgramPtr |
getGeometryProgram()
Gets the geometry program used by this pass, only available after . |
java.lang.String |
getGeometryProgramName()
Gets the name of the geometry program used by this pass. |
void |
getGeometryProgramParameters(IGpuProgramParametersSharedPtr returnValue)
Gets the geometry program parameters used by this pass. |
long |
getHash()
Gets the 'hash' of this pass, ie a precomputed number to use for sorting |
static IPass.IHashFunc |
getHashFunction()
Get the hash function used for all passes. |
IlluminationStage |
getIlluminationStage()
|
int |
getIndex()
|
boolean |
getIteratePerLight()
Does this pass run once for every light in range? |
float |
getIterationDepthBias()
Gets a factor which derives an additional depth bias from the number of times a pass is iterated. |
boolean |
getLightClipPlanesEnabled()
Gets whether or not this pass will be clipped by user clips planes bounding the area covered by the light. |
int |
getLightCountPerIteration()
If light iteration is enabled, determine the number of lights per iteration. |
boolean |
getLightingEnabled()
Returns whether or not dynamic lighting is enabled. |
boolean |
getLightScissoringEnabled()
Gets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are being used in it. |
ManualCullingMode |
getManualCullingMode()
Retrieves the manual culling mode for this pass |
int |
getMaxSimultaneousLights()
Gets the maximum number of lights to be used by this pass. |
java.lang.String |
getName()
|
boolean |
getNormaliseNormals()
Returns true if this pass has auto-normalisation of normals set. |
int |
getNumTextureUnitStates()
Returns the number of texture unit settings. |
Light.LightTypes |
getOnlyLightType()
Gets the single light type this pass runs for if getIteratePerLight and getRunOnlyForOneLightType are both true. |
ITechnique |
getParent()
|
static IPass.IPassSet |
getPassGraveyard()
Static method to retrieve all the Passes which are pending deletion. |
int |
getPassIterationCount()
Gets the pass iteration count value. |
float |
getPointAttenuationConstant()
Returns the constant coefficient of point attenuation. |
float |
getPointAttenuationLinear()
Returns the linear coefficient of point attenuation. |
float |
getPointAttenuationQuadratic()
Returns the quadratic coefficient of point attenuation. |
float |
getPointMaxSize()
Get the maximum point size, when point attenuation is in use. |
float |
getPointMinSize()
Get the minimum point size, when point attenuation is in use. |
float |
getPointSize()
Gets the point size of the pass. |
boolean |
getPointSpritesEnabled()
Returns whether point sprites are enabled when rendering a point list. |
PolygonMode |
getPolygonMode()
Returns the type of light shading to be used. |
boolean |
getPolygonModeOverrideable()
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting. |
java.lang.String |
getResourceGroup()
|
boolean |
getRunOnlyForOneLightType()
Does this pass run only for a single light type (if getIteratePerLight is true). |
IColourValue |
getSelfIllumination()
Gets the self illumination colour of the pass. |
ShadeOptions |
getShadingMode()
Returns the type of light shading to be used. |
IGpuProgramPtr |
getShadowCasterVertexProgram()
Gets the vertex program used by this pass when rendering shadow casters, only available after . |
java.lang.String |
getShadowCasterVertexProgramName()
Gets the name of the vertex program used by this pass when rendering shadow casters. |
void |
getShadowCasterVertexProgramParameters(IGpuProgramParametersSharedPtr returnValue)
Gets the vertex program parameters used by this pass when rendering shadow casters. |
IGpuProgramPtr |
getShadowReceiverFragmentProgram()
Gets the fragment program used by this pass when rendering shadow receivers, only available after . |
java.lang.String |
getShadowReceiverFragmentProgramName()
Gets the name of the fragment program used by this pass when rendering shadow receivers. |
void |
getShadowReceiverFragmentProgramParameters(IGpuProgramParametersSharedPtr returnValue)
Gets the fragment program parameters used by this pass when rendering shadow receivers. |
IGpuProgramPtr |
getShadowReceiverVertexProgram()
Gets the vertex program used by this pass when rendering shadow receivers, only available after . |
java.lang.String |
getShadowReceiverVertexProgramName()
Gets the name of the vertex program used by this pass when rendering shadow receivers. |
void |
getShadowReceiverVertexProgramParameters(IGpuProgramParametersSharedPtr returnValue)
Gets the vertex program parameters used by this pass when rendering shadow receivers. |
float |
getShininess()
Gets the 'shininess' property of the pass (affects specular highlights). |
SceneBlendFactor |
getSourceBlendFactor()
Retrieves the source blending factor for the material (as set using Materiall::setSceneBlending). |
SceneBlendFactor |
getSourceBlendFactorAlpha()
Retrieves the alpha source blending factor for the material (as set using Materiall::setSeparateSceneBlending). |
IColourValue |
getSpecular()
Gets the specular colour reflectance of the pass. |
int |
getStartLight()
Gets the light index that this pass will start at in the light list. |
ITextureUnitState |
getTextureUnitState_const(int index)
|
ITextureUnitState |
getTextureUnitState_const(java.lang.String name)
|
ITextureUnitState |
getTextureUnitState(int index)
Retrieves a pointer to a texture unit state so it may be modified. |
ITextureUnitState |
getTextureUnitState(java.lang.String name)
Retrieves the Unit State matching name. |
int |
getTextureUnitStateIndex(ITextureUnitState state)
Retrieve the index of the Unit State in the pass. |
void |
getTextureUnitStateIterator_const(IPass.IConstTextureUnitStateIterator returnValue)
|
void |
getTextureUnitStateIterator(IPass.ITextureUnitStateIterator returnValue)
Get an iterator over the TextureUnitStates contained in this . |
boolean |
getTransparentSortingEnabled()
Returns whether or not transparent sorting is enabled. |
int |
getVertexColourTracking()
Gets which material properties follow the vertex colour |
IGpuProgramPtr |
getVertexProgram()
Gets the vertex program used by this pass, only available after . |
java.lang.String |
getVertexProgramName()
Gets the name of the vertex program used by this pass. |
void |
getVertexProgramParameters(IGpuProgramParametersSharedPtr returnValue)
Gets the vertex program parameters used by this pass. |
boolean |
hasFragmentProgram()
|
boolean |
hasGeometryProgram()
|
boolean |
hasSeparateSceneBlending()
Return true if this pass uses separate scene blending |
boolean |
hasShadowCasterVertexProgram()
|
boolean |
hasShadowReceiverFragmentProgram()
|
boolean |
hasShadowReceiverVertexProgram()
|
boolean |
hasVertexProgram()
|
boolean |
isAlphaToCoverageEnabled()
Gets whether to use alpha to coverage (A2C) when blending alpha rejected values. |
boolean |
isAmbientOnly()
Returns whether this pass is ambient only. |
boolean |
isLoaded()
|
boolean |
isPointAttenuationEnabled()
Returns whether points are attenuated with distance. |
boolean |
isProgrammable()
|
boolean |
isTransparent()
Returns true if this pass has some element of transparency. |
IPass |
operatorAssignment(IPass oth)
|
static void |
processPendingPassUpdates()
Process all dirty and pending deletion passes. |
void |
queueForDeletion()
Queue this pass for deletion when appropriate. |
void |
removeAllTextureUnitStates()
Removes all texture unit settings. |
void |
removeTextureUnitState(int index)
Removes the indexed texture unit state from this pass. |
void |
setAlphaRejectFunction(CompareFunction func)
Sets the alpha reject function. |
void |
setAlphaRejectSettings(CompareFunction func,
short value,
boolean alphaToCoverageEnabled)
Sets the way the pass will have use alpha to totally reject pixels from the pipeline. |
void |
setAlphaRejectValue(short val)
Gets the alpha reject value. |
void |
setAlphaToCoverageEnabled(boolean enabled)
Sets whether to use alpha to coverage (A2C) when blending alpha rejected values. |
void |
setAmbient(float red,
float green,
float blue)
Sets the ambient colour reflectance properties of this pass. |
void |
setAmbient(IColourValue ambient)
Sets the ambient colour reflectance properties of this pass. |
void |
setColourWriteEnabled(boolean enabled)
Sets whether or not colour buffer writing is enabled for this . |
void |
setCullingMode(CullingMode mode)
Sets the culling mode for this pass based on the 'vertex winding'. |
void |
setDepthBias(float constantBias,
float slopeScaleBias)
Sets the depth bias to be used for this material. |
void |
setDepthCheckEnabled(boolean enabled)
Sets whether or not this pass renders with depth-buffer checking on or not. |
void |
setDepthFunction(CompareFunction func)
Sets the function used to compare depth values when depth checking is on. |
void |
setDepthWriteEnabled(boolean enabled)
Sets whether or not this pass renders with depth-buffer writing on or not. |
void |
setDiffuse(float red,
float green,
float blue,
float alpha)
Sets the diffuse colour reflectance properties of this pass. |
void |
setDiffuse(IColourValue diffuse)
Sets the diffuse colour reflectance properties of this pass. |
void |
setFog(boolean overrideScene,
FogMode mode,
IColourValue colour,
float expDensity,
float linearStart,
float linearEnd)
Sets the fogging mode applied to this pass. |
void |
setFragmentProgram(java.lang.String name,
boolean resetParams)
Sets the details of the fragment program to use. |
void |
setFragmentProgramParameters(IGpuProgramParametersSharedPtr params)
Sets the fragment program parameters. |
void |
setGeometryProgram(java.lang.String name,
boolean resetParams)
Sets the details of the geometry program to use. |
void |
setGeometryProgramParameters(IGpuProgramParametersSharedPtr params)
Sets the geometry program parameters. |
static void |
setHashFunction(IPass.IHashFunc hashFunc)
Set the hash function used for all passes. |
static void |
setHashFunction(Pass.BuiltinHashFunction builtin)
Sets one of the default hash functions to be used. |
void |
setIlluminationStage(IlluminationStage is)
Manually set which illumination stage this pass is a member of. |
void |
setIteratePerLight(boolean enabled,
boolean onlyForOneLightType,
Light.LightTypes lightType)
Sets whether or not this pass should iterate per light or number of lights which can affect the object being rendered. |
void |
setIterationDepthBias(float biasPerIteration)
Sets a factor which derives an additional depth bias from the number of times a pass is iterated. |
void |
setLightClipPlanesEnabled(boolean enabled)
Gets whether or not this pass will be clipped by user clips planes bounding the area covered by the light. |
void |
setLightCountPerIteration(int c)
If light iteration is enabled, determine the number of lights per iteration. |
void |
setLightingEnabled(boolean enabled)
Sets whether or not dynamic lighting is enabled. |
void |
setLightScissoringEnabled(boolean enabled)
Sets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are being used in it. |
void |
setManualCullingMode(ManualCullingMode mode)
Sets the manual culling mode, performed by CPU rather than hardware. |
void |
setMaxSimultaneousLights(int maxLights)
Sets the maximum number of lights to be used by this pass. |
void |
setName(java.lang.String name)
|
void |
setNormaliseNormals(boolean normalise)
If set to true, this forces normals to be normalised dynamically by the hardware for this pass. |
void |
setPassIterationCount(int count)
set the number of iterations that this pass should perform when doing fast multi pass operation. |
void |
setPointAttenuation(boolean enabled,
float constant,
float linear,
float quadratic)
Sets how points are attenuated with distance. |
void |
setPointMaxSize(float _max)
Set the maximum point size, when point attenuation is in use. |
void |
setPointMinSize(float _min)
Set the minimum point size, when point attenuation is in use. |
void |
setPointSize(float ps)
Sets the point size of this pass. |
void |
setPointSpritesEnabled(boolean enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) or plain points (dots). |
void |
setPolygonMode(PolygonMode mode)
Sets the type of polygon rendering required |
void |
setPolygonModeOverrideable(boolean override)
Sets whether this pass's chosen detail level can be overridden (downgraded) by the camera setting. |
void |
setSceneBlending(SceneBlendFactor sourceFactor,
SceneBlendFactor destFactor)
Allows very fine control of blending this with the existing contents of the scene. |
void |
setSceneBlending(SceneBlendType sbt)
Sets the kind of blending this pass has with the existing contents of the scene. |
void |
setSelfIllumination(float red,
float green,
float blue)
Sets the amount of self-illumination an object has. |
void |
setSelfIllumination(IColourValue selfIllum)
Sets the amount of self-illumination an object has. |
void |
setSeparateSceneBlending(SceneBlendFactor sourceFactor,
SceneBlendFactor destFactor,
SceneBlendFactor sourceFactorAlpha,
SceneBlendFactor destFactorAlpha)
Allows very fine control of blending this with the existing contents of the scene. |
void |
setSeparateSceneBlending(SceneBlendType sbt,
SceneBlendType sbta)
Sets the kind of blending this pass has with the existing contents of the scene, separately for color and alpha channels |
void |
setShadingMode(ShadeOptions mode)
Sets the type of light shading required |
void |
setShadowCasterVertexProgram(java.lang.String name)
Sets the details of the vertex program to use when rendering as a shadow caster. |
void |
setShadowCasterVertexProgramParameters(IGpuProgramParametersSharedPtr params)
Sets the vertex program parameters for rendering as a shadow caster. |
void |
setShadowReceiverFragmentProgram(java.lang.String name)
This method allows you to specify a fragment program for use when rendering a texture shadow receiver. |
void |
setShadowReceiverFragmentProgramParameters(IGpuProgramParametersSharedPtr params)
Sets the fragment program parameters for rendering as a shadow receiver. |
void |
setShadowReceiverVertexProgram(java.lang.String name)
Sets the details of the vertex program to use when rendering as a shadow receiver. |
void |
setShadowReceiverVertexProgramParameters(IGpuProgramParametersSharedPtr params)
Sets the vertex program parameters for rendering as a shadow receiver. |
void |
setShininess(float val)
Sets the shininess of the pass, affecting the size of specular highlights. |
void |
setSpecular(float red,
float green,
float blue,
float alpha)
Sets the specular colour reflectance properties of this pass. |
void |
setSpecular(IColourValue specular)
Sets the specular colour reflectance properties of this pass. |
void |
setStartLight(int startLight)
Sets the light index that this pass will start at in the light list. |
void |
setTextureAnisotropy(long maxAniso)
Sets the anisotropy level to be used for all textures. |
void |
setTextureFiltering(TextureFilterOptions filterType)
Set texture filtering for every texture unit |
void |
setTransparentSortingEnabled(boolean enabled)
Sets whether or not transparent sorting is enabled. |
void |
setVertexColourTracking(int tracking)
Sets which material properties follow the vertex colour |
void |
setVertexProgram(java.lang.String name,
boolean resetParams)
Sets the details of the vertex program to use. |
void |
setVertexProgramParameters(IGpuProgramParametersSharedPtr params)
Sets the vertex program parameters. |
| 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 Pass(InstancePointer p)
protected Pass(InstancePointer p,
boolean remote)
public Pass(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()
public Pass(ITechnique parent,
int index)
public Pass(ITechnique parent,
int index,
IPass oth)
| 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 IPass operatorAssignment(IPass oth)
operatorAssignment in interface IPasspublic boolean isProgrammable()
isProgrammable in interface IPasspublic boolean hasVertexProgram()
hasVertexProgram in interface IPasspublic boolean hasFragmentProgram()
hasFragmentProgram in interface IPasspublic boolean hasGeometryProgram()
hasGeometryProgram in interface IPasspublic boolean hasShadowCasterVertexProgram()
hasShadowCasterVertexProgram in interface IPasspublic boolean hasShadowReceiverVertexProgram()
hasShadowReceiverVertexProgram in interface IPasspublic boolean hasShadowReceiverFragmentProgram()
hasShadowReceiverFragmentProgram in interface IPasspublic int getIndex()
getIndex in interface IPasspublic void setName(java.lang.String name)
setName in interface IPasspublic java.lang.String getName()
getName in interface IPass
public void setAmbient(float red,
float green,
float blue)
setAmbient in interface IPasspublic void setAmbient(IColourValue ambient)
setAmbient in interface IPass
public void setDiffuse(float red,
float green,
float blue,
float alpha)
setDiffuse in interface IPasspublic void setDiffuse(IColourValue diffuse)
setDiffuse in interface IPass
public void setSpecular(float red,
float green,
float blue,
float alpha)
setSpecular in interface IPasspublic void setSpecular(IColourValue specular)
setSpecular in interface IPasspublic void setShininess(float val)
setShininess in interface IPass
public void setSelfIllumination(float red,
float green,
float blue)
setSelfIllumination in interface IPasspublic void setSelfIllumination(IColourValue selfIllum)
setSelfIllumination in interface IPasspublic void setVertexColourTracking(int tracking)
setVertexColourTracking in interface IPasspublic float getPointSize()
getPointSize in interface IPasspublic void setPointSize(float ps)
setPointSize in interface IPasspublic void setPointSpritesEnabled(boolean enabled)
setPointSpritesEnabled in interface IPasspublic boolean getPointSpritesEnabled()
getPointSpritesEnabled in interface IPass
public void setPointAttenuation(boolean enabled,
float constant,
float linear,
float quadratic)
setPointAttenuation in interface IPasspublic boolean isPointAttenuationEnabled()
isPointAttenuationEnabled in interface IPasspublic float getPointAttenuationConstant()
getPointAttenuationConstant in interface IPasspublic float getPointAttenuationLinear()
getPointAttenuationLinear in interface IPasspublic float getPointAttenuationQuadratic()
getPointAttenuationQuadratic in interface IPasspublic void setPointMinSize(float _min)
setPointMinSize in interface IPasspublic float getPointMinSize()
getPointMinSize in interface IPasspublic void setPointMaxSize(float _max)
setPointMaxSize in interface IPasspublic float getPointMaxSize()
getPointMaxSize in interface IPasspublic IColourValue getAmbient()
getAmbient in interface IPasspublic IColourValue getDiffuse()
getDiffuse in interface IPasspublic IColourValue getSpecular()
getSpecular in interface IPasspublic IColourValue getSelfIllumination()
getSelfIllumination in interface IPasspublic float getShininess()
getShininess in interface IPasspublic int getVertexColourTracking()
getVertexColourTracking in interface IPasspublic ITextureUnitState createTextureUnitState()
createTextureUnitState in interface IPass
public ITextureUnitState createTextureUnitState(java.lang.String textureName,
int texCoordSet)
createTextureUnitState in interface IPasspublic void addTextureUnitState(ITextureUnitState state)
addTextureUnitState in interface IPasspublic ITextureUnitState getTextureUnitState(int index)
getTextureUnitState in interface IPasspublic ITextureUnitState getTextureUnitState(java.lang.String name)
getTextureUnitState in interface IPasspublic ITextureUnitState getTextureUnitState_const(int index)
getTextureUnitState_const in interface IPasspublic ITextureUnitState getTextureUnitState_const(java.lang.String name)
getTextureUnitState_const in interface IPasspublic int getTextureUnitStateIndex(ITextureUnitState state)
getTextureUnitStateIndex in interface IPasspublic void getTextureUnitStateIterator(IPass.ITextureUnitStateIterator returnValue)
getTextureUnitStateIterator in interface IPasspublic void getTextureUnitStateIterator_const(IPass.IConstTextureUnitStateIterator returnValue)
getTextureUnitStateIterator_const in interface IPasspublic void removeTextureUnitState(int index)
removeTextureUnitState in interface IPasspublic void removeAllTextureUnitStates()
removeAllTextureUnitStates in interface IPasspublic int getNumTextureUnitStates()
getNumTextureUnitStates in interface IPasspublic void setSceneBlending(SceneBlendType sbt)
setSceneBlending in interface IPass
public void setSeparateSceneBlending(SceneBlendType sbt,
SceneBlendType sbta)
setSeparateSceneBlending in interface IPass
public void setSceneBlending(SceneBlendFactor sourceFactor,
SceneBlendFactor destFactor)
setSceneBlending in interface IPass
public void setSeparateSceneBlending(SceneBlendFactor sourceFactor,
SceneBlendFactor destFactor,
SceneBlendFactor sourceFactorAlpha,
SceneBlendFactor destFactorAlpha)
setSeparateSceneBlending in interface IPasspublic boolean hasSeparateSceneBlending()
hasSeparateSceneBlending in interface IPasspublic SceneBlendFactor getSourceBlendFactor()
getSourceBlendFactor in interface IPasspublic SceneBlendFactor getDestBlendFactor()
getDestBlendFactor in interface IPasspublic SceneBlendFactor getSourceBlendFactorAlpha()
getSourceBlendFactorAlpha in interface IPasspublic SceneBlendFactor getDestBlendFactorAlpha()
getDestBlendFactorAlpha in interface IPasspublic boolean isTransparent()
isTransparent in interface IPasspublic void setDepthCheckEnabled(boolean enabled)
setDepthCheckEnabled in interface IPasspublic boolean getDepthCheckEnabled()
getDepthCheckEnabled in interface IPasspublic void setDepthWriteEnabled(boolean enabled)
setDepthWriteEnabled in interface IPasspublic boolean getDepthWriteEnabled()
getDepthWriteEnabled in interface IPasspublic void setDepthFunction(CompareFunction func)
setDepthFunction in interface IPasspublic CompareFunction getDepthFunction()
getDepthFunction in interface IPasspublic void setColourWriteEnabled(boolean enabled)
setColourWriteEnabled in interface IPasspublic boolean getColourWriteEnabled()
getColourWriteEnabled in interface IPasspublic void setCullingMode(CullingMode mode)
setCullingMode in interface IPasspublic CullingMode getCullingMode()
getCullingMode in interface IPasspublic void setManualCullingMode(ManualCullingMode mode)
setManualCullingMode in interface IPasspublic ManualCullingMode getManualCullingMode()
getManualCullingMode in interface IPasspublic void setLightingEnabled(boolean enabled)
setLightingEnabled in interface IPasspublic boolean getLightingEnabled()
getLightingEnabled in interface IPasspublic void setMaxSimultaneousLights(int maxLights)
setMaxSimultaneousLights in interface IPasspublic int getMaxSimultaneousLights()
getMaxSimultaneousLights in interface IPasspublic void setStartLight(int startLight)
setStartLight in interface IPasspublic int getStartLight()
getStartLight in interface IPasspublic void setShadingMode(ShadeOptions mode)
setShadingMode in interface IPasspublic ShadeOptions getShadingMode()
getShadingMode in interface IPasspublic void setPolygonMode(PolygonMode mode)
setPolygonMode in interface IPasspublic PolygonMode getPolygonMode()
getPolygonMode in interface IPasspublic void setPolygonModeOverrideable(boolean override)
setPolygonModeOverrideable in interface IPasspublic boolean getPolygonModeOverrideable()
getPolygonModeOverrideable in interface IPass
public void setFog(boolean overrideScene,
FogMode mode,
IColourValue colour,
float expDensity,
float linearStart,
float linearEnd)
setFog in interface IPasspublic boolean getFogOverride()
getFogOverride in interface IPasspublic FogMode getFogMode()
getFogMode in interface IPasspublic IColourValue getFogColour()
getFogColour in interface IPasspublic float getFogStart()
getFogStart in interface IPasspublic float getFogEnd()
getFogEnd in interface IPasspublic float getFogDensity()
getFogDensity in interface IPass
public void setDepthBias(float constantBias,
float slopeScaleBias)
setDepthBias in interface IPasspublic float getDepthBiasConstant()
getDepthBiasConstant in interface IPasspublic float getDepthBiasSlopeScale()
getDepthBiasSlopeScale in interface IPasspublic void setIterationDepthBias(float biasPerIteration)
setIterationDepthBias in interface IPasspublic float getIterationDepthBias()
getIterationDepthBias in interface IPass
public void setAlphaRejectSettings(CompareFunction func,
short value,
boolean alphaToCoverageEnabled)
setAlphaRejectSettings in interface IPasspublic void setAlphaRejectFunction(CompareFunction func)
setAlphaRejectFunction in interface IPasspublic void setAlphaRejectValue(short val)
setAlphaRejectValue in interface IPasspublic CompareFunction getAlphaRejectFunction()
getAlphaRejectFunction in interface IPasspublic short getAlphaRejectValue()
getAlphaRejectValue in interface IPasspublic void setAlphaToCoverageEnabled(boolean enabled)
setAlphaToCoverageEnabled in interface IPasspublic boolean isAlphaToCoverageEnabled()
isAlphaToCoverageEnabled in interface IPasspublic void setTransparentSortingEnabled(boolean enabled)
setTransparentSortingEnabled in interface IPasspublic boolean getTransparentSortingEnabled()
getTransparentSortingEnabled in interface IPass
public void setIteratePerLight(boolean enabled,
boolean onlyForOneLightType,
Light.LightTypes lightType)
setIteratePerLight in interface IPasspublic boolean getIteratePerLight()
getIteratePerLight in interface IPasspublic boolean getRunOnlyForOneLightType()
getRunOnlyForOneLightType in interface IPasspublic Light.LightTypes getOnlyLightType()
getOnlyLightType in interface IPasspublic void setLightCountPerIteration(int c)
setLightCountPerIteration in interface IPasspublic int getLightCountPerIteration()
getLightCountPerIteration in interface IPasspublic ITechnique getParent()
getParent in interface IPasspublic java.lang.String getResourceGroup()
getResourceGroup in interface IPass
public void setVertexProgram(java.lang.String name,
boolean resetParams)
setVertexProgram in interface IPasspublic void setVertexProgramParameters(IGpuProgramParametersSharedPtr params)
setVertexProgramParameters in interface IPasspublic java.lang.String getVertexProgramName()
getVertexProgramName in interface IPasspublic void getVertexProgramParameters(IGpuProgramParametersSharedPtr returnValue)
getVertexProgramParameters in interface IPasspublic IGpuProgramPtr getVertexProgram()
getVertexProgram in interface IPasspublic void setShadowCasterVertexProgram(java.lang.String name)
setShadowCasterVertexProgram in interface IPasspublic void setShadowCasterVertexProgramParameters(IGpuProgramParametersSharedPtr params)
setShadowCasterVertexProgramParameters in interface IPasspublic java.lang.String getShadowCasterVertexProgramName()
getShadowCasterVertexProgramName in interface IPasspublic void getShadowCasterVertexProgramParameters(IGpuProgramParametersSharedPtr returnValue)
getShadowCasterVertexProgramParameters in interface IPasspublic IGpuProgramPtr getShadowCasterVertexProgram()
getShadowCasterVertexProgram in interface IPasspublic void setShadowReceiverVertexProgram(java.lang.String name)
setShadowReceiverVertexProgram in interface IPasspublic void setShadowReceiverVertexProgramParameters(IGpuProgramParametersSharedPtr params)
setShadowReceiverVertexProgramParameters in interface IPasspublic void setShadowReceiverFragmentProgram(java.lang.String name)
setShadowReceiverFragmentProgram in interface IPasspublic void setShadowReceiverFragmentProgramParameters(IGpuProgramParametersSharedPtr params)
setShadowReceiverFragmentProgramParameters in interface IPasspublic java.lang.String getShadowReceiverVertexProgramName()
getShadowReceiverVertexProgramName in interface IPasspublic void getShadowReceiverVertexProgramParameters(IGpuProgramParametersSharedPtr returnValue)
getShadowReceiverVertexProgramParameters in interface IPasspublic IGpuProgramPtr getShadowReceiverVertexProgram()
getShadowReceiverVertexProgram in interface IPasspublic java.lang.String getShadowReceiverFragmentProgramName()
getShadowReceiverFragmentProgramName in interface IPasspublic void getShadowReceiverFragmentProgramParameters(IGpuProgramParametersSharedPtr returnValue)
getShadowReceiverFragmentProgramParameters in interface IPasspublic IGpuProgramPtr getShadowReceiverFragmentProgram()
getShadowReceiverFragmentProgram in interface IPass
public void setFragmentProgram(java.lang.String name,
boolean resetParams)
setFragmentProgram in interface IPasspublic void setFragmentProgramParameters(IGpuProgramParametersSharedPtr params)
setFragmentProgramParameters in interface IPasspublic java.lang.String getFragmentProgramName()
getFragmentProgramName in interface IPasspublic void getFragmentProgramParameters(IGpuProgramParametersSharedPtr returnValue)
getFragmentProgramParameters in interface IPasspublic IGpuProgramPtr getFragmentProgram()
getFragmentProgram in interface IPass
public void setGeometryProgram(java.lang.String name,
boolean resetParams)
setGeometryProgram in interface IPasspublic void setGeometryProgramParameters(IGpuProgramParametersSharedPtr params)
setGeometryProgramParameters in interface IPasspublic java.lang.String getGeometryProgramName()
getGeometryProgramName in interface IPasspublic void getGeometryProgramParameters(IGpuProgramParametersSharedPtr returnValue)
getGeometryProgramParameters in interface IPasspublic IGpuProgramPtr getGeometryProgram()
getGeometryProgram in interface IPasspublic IPass _split(int numUnits)
_split in interface IPasspublic void _notifyIndex(int index)
_notifyIndex in interface IPasspublic void _prepare()
_prepare in interface IPasspublic void _unprepare()
_unprepare in interface IPasspublic void _load()
_load in interface IPasspublic void _unload()
_unload in interface IPasspublic boolean isLoaded()
isLoaded in interface IPasspublic long getHash()
getHash in interface IPasspublic void _dirtyHash()
_dirtyHash in interface IPasspublic void _recalculateHash()
_recalculateHash in interface IPasspublic void _notifyNeedsRecompile()
_notifyNeedsRecompile in interface IPasspublic void _updateAutoParamsNoLights(IAutoParamDataSource source)
_updateAutoParamsNoLights in interface IPasspublic void _updateAutoParamsLightsOnly(IAutoParamDataSource source)
_updateAutoParamsLightsOnly in interface IPass
public int _getTextureUnitWithContentTypeIndex(TextureUnitState.ContentType contentType,
int index)
_getTextureUnitWithContentTypeIndex in interface IPasspublic void setTextureFiltering(TextureFilterOptions filterType)
setTextureFiltering in interface IPasspublic void setTextureAnisotropy(long maxAniso)
setTextureAnisotropy in interface IPasspublic void setNormaliseNormals(boolean normalise)
setNormaliseNormals in interface IPasspublic boolean getNormaliseNormals()
getNormaliseNormals in interface IPasspublic void queueForDeletion()
queueForDeletion in interface IPasspublic boolean isAmbientOnly()
isAmbientOnly in interface IPasspublic void setPassIterationCount(int count)
setPassIterationCount in interface IPasspublic int getPassIterationCount()
getPassIterationCount in interface IPass
public boolean applyTextureAliases(IAliasTextureNamePairList aliasList,
boolean apply)
applyTextureAliases in interface IPasspublic void setLightScissoringEnabled(boolean enabled)
setLightScissoringEnabled in interface IPasspublic boolean getLightScissoringEnabled()
getLightScissoringEnabled in interface IPasspublic void setLightClipPlanesEnabled(boolean enabled)
setLightClipPlanesEnabled in interface IPasspublic boolean getLightClipPlanesEnabled()
getLightClipPlanesEnabled in interface IPasspublic void setIlluminationStage(IlluminationStage is)
setIlluminationStage in interface IPasspublic IlluminationStage getIlluminationStage()
getIlluminationStage in interface IPasspublic static IPass.IPassSet getDirtyHashList()
public static IPass.IPassSet getPassGraveyard()
public static void clearDirtyHashList()
public static void processPendingPassUpdates()
public static void setHashFunction(Pass.BuiltinHashFunction builtin)
public static void setHashFunction(IPass.IHashFunc hashFunc)
public static IPass.IHashFunc getHashFunction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||