Packagecom.yogurt3d.core.effects.filters
Classpublic class FilterGammaCorChannel
InheritanceFilterGammaCorChannel Inheritance Filter Inheritance Shader Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedattributes : Vector.<EVertexAttribute>
[read-only]
Shader
  gammaB : Number
FilterGammaCorChannel
  gammaG : Number
FilterGammaCorChannel
  gammaR : Number
FilterGammaCorChannel
 Inheritedkey : String
Key string of a shader.
Shader
 Inheritedparams : ShaderParameters
Returns the shader parameters.
Shader
Protected Properties
 PropertyDefined By
 Inheritedm_height : Number
[static]
Filter
 Inheritedm_width : Number
[static]
Filter
Public Methods
 MethodDefined By
  
FilterGammaCorChannel(_gammaR:Number, _gammaG:Number, _gammaB:Number)
FilterGammaCorChannel
 Inherited
clearTextures(_context3D:Context3D):void
Filter
 Inherited
dispose():void
Filter
 Inherited
Shader
  
getFragmentProgram(_lightType:ELightType = null):ByteArray
[override]
FilterGammaCorChannel
 Inherited
getProgram(_context3D:Context3D, _lightType:ELightType = null, _meshKey:String):Program3D
Returns the Program3D object for this shader.
Shader
 Inherited
Filter
 Inherited
getVertexProgram(_meshKey:String, _lightType:ELightType = null):ByteArray
[override]
Filter
 Inherited
postProcess(_context3d:Context3D, _viewport:Rectangle, _sampler:RenderTextureTarget):void
Filter
  
setShaderConstants(_context3D:Context3D, _viewport:Rectangle):void
[override]
FilterGammaCorChannel
Property Detail
gammaBproperty
gammaB:Number


Implementation
    public function get gammaB():Number
    public function set gammaB(value:Number):void
gammaGproperty 
gammaG:Number


Implementation
    public function get gammaG():Number
    public function set gammaG(value:Number):void
gammaRproperty 
gammaR:Number


Implementation
    public function get gammaR():Number
    public function set gammaR(value:Number):void
Constructor Detail
FilterGammaCorChannel()Constructor
public function FilterGammaCorChannel(_gammaR:Number, _gammaG:Number, _gammaB:Number)



Parameters
_gammaR:Number
 
_gammaG:Number
 
_gammaB:Number
Method Detail
getFragmentProgram()method
override public function getFragmentProgram(_lightType:ELightType = null):ByteArray

Parameters

_lightType:ELightType (default = null)

Returns
ByteArray
setShaderConstants()method 
override public function setShaderConstants(_context3D:Context3D, _viewport:Rectangle):void

Parameters

_context3D:Context3D
 
_viewport:Rectangle