DefaultScreenPass is a shader pass that uses shader methods to compile a complete program.
protected var _cameraPositionIndex:int
protected var _lightDataIndex:int
protected var _normalBufferIndex:int
arcane var _passes:Vector.<MaterialPassBase>
arcane var _passesDirty:Boolean
protected var _sceneMatrixIndex:int
protected var _sceneNormalMatrixIndex:int
protected var _secondaryUVBufferIndex:int
protected var _tangentBufferIndex:int
protected var _uvBufferIndex:int
protected var _uvTransformIndex:int
ambientMethod:BasicAmbientMethod
Implementation public function get ambientMethod():BasicAmbientMethod
public function set ambientMethod(value:BasicAmbientMethod):void
animateUVs:Boolean
Implementation public function get animateUVs():Boolean
public function set animateUVs(value:Boolean):void
colorTransform:ColorTransform
The ColorTransform object to transform the colour of the material with.
Implementation public function get colorTransform():ColorTransform
public function set colorTransform(value:ColorTransform):void
colorTransformMethod:ColorTransformMethod
Implementation arcane function get colorTransformMethod():ColorTransformMethod
arcane function set colorTransformMethod(value:ColorTransformMethod):void
diffuseLightSources:uint
Implementation public function get diffuseLightSources():uint
public function set diffuseLightSources(value:uint):void
diffuseMethod:BasicDiffuseMethod
The method to perform diffuse shading.
Implementation public function get diffuseMethod():BasicDiffuseMethod
public function set diffuseMethod(value:BasicDiffuseMethod):void
mipmap:Boolean
[override]
Defines whether any used textures should use mipmapping.
Implementation public function get mipmap():Boolean
public function set mipmap(value:Boolean):void
normalMap:Texture2DBase
The tangent space normal map to influence the direction of the surface for each texel.
Implementation public function get normalMap():Texture2DBase
public function set normalMap(value:Texture2DBase):void
normalMethod:BasicNormalMethod
Implementation public function get normalMethod():BasicNormalMethod
public function set normalMethod(value:BasicNormalMethod):void
numDirectionalLights:uint
[override]
Implementation arcane function get numDirectionalLights():uint
arcane function set numDirectionalLights(value:uint):void
numLightProbes:uint
[write-only] [override]
Implementation arcane function set numLightProbes(value:uint):void
numMethods:int
[read-only]
Implementation public function get numMethods():int
numPointLights:uint
[override]
Implementation arcane function get numPointLights():uint
arcane function set numPointLights(value:uint):void
shadowMethod:ShadowMapMethodBase
Implementation public function get shadowMethod():ShadowMapMethodBase
public function set shadowMethod(value:ShadowMapMethodBase):void
specularLightSources:uint
Implementation public function get specularLightSources():uint
public function set specularLightSources(value:uint):void
specularMethod:BasicSpecularMethod
The method to perform specular shading.
Implementation public function get specularMethod():BasicSpecularMethod
public function set specularMethod(value:BasicSpecularMethod):void
public function DefaultScreenPass(material:MaterialBase)
Creates a new DefaultScreenPass objects.
Parameters override arcane function activate(stage3DProxy:Stage3DProxy, camera:Camera3D, textureRatioX:Number, textureRatioY:Number):void
Parameters
public function addMethod(method:EffectMethodBase):void
Adds a method to change the material after all lighting is performed.
Parameters
public function addMethodAt(method:EffectMethodBase, index:int):void
Inserts a method to change the material after all lighting is performed at the given index.
Parameters
| method:EffectMethodBase — The method to be added.
|
|
| index:int — The index of the method's occurrence
|
override arcane function deactivate(stage3DProxy:Stage3DProxy):void
Parameters
override public function dispose():void
Cleans up any resources used by the current object.
override arcane function getFragmentCode():String
Returns public function getMethodAt(index:int):EffectMethodBase
Parameters
Returnsoverride arcane function getVertexCode(code:String):String
Parameters
Returns public function hasMethod(method:EffectMethodBase):Boolean
Parameters
Returnsoverride arcane function invalidateShaderProgram(updateMaterial:Boolean = true):void
Marks the shader program as invalid, so it will be recompiled before the next render.
Parameters
| updateMaterial:Boolean (default = true )
|
public function removeMethod(method:EffectMethodBase):void
Removes a method from the pass.
Parameters
override arcane function render(renderable:IRenderable, stage3DProxy:Stage3DProxy, camera:Camera3D, lightPicker:LightPickerBase):void
Parameters
override arcane function updateProgram(stage3DProxy:Stage3DProxy):void
Compiles the shader program.
Parameters
| stage3DProxy:Stage3DProxy — An optional register that contains an amount by which to inflate the model (used in single object depth map rendering).
|
Tue Jul 17 2012, 10:37 AM +01:00