Packagecom.yogurt3d.core.effects.filters
Classpublic class Filter
InheritanceFilter Inheritance Shader Inheritance Object
Subclasses FilterBloom, FilterBlur, FilterBoxBlur, FilterColorGrading, FilterColorTransform, FilterDilate, FilterEmboss, FilterGammaCorChannel, FilterGammaCorrection, FilterGaussianBlurHorizontal, FilterGaussianBlurVertical, FilterGodRays, FilterGreyScale, FilterLaplacian, FilterLensCircle, FilterLightScattering, FilterMean, FilterNegative, FilterNightVision, FilterPixelation, FilterPosterization, FilterRadialBlur, FilterRadialBlur, FilterScratchedFilm, FilterSephia, FilterSharpen, FilterSimple, FilterSSAO, FilterStereo, FilterSwirl, FilterThermalVision



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

m_renderTargetproperty 
YOGURT3D_INTERNAL var m_renderTarget:RenderTextureTarget

m_widthproperty 
protected static var m_width:Number

Constructor Detail
Filter()Constructor
public function Filter()



Method Detail
clearTextures()method
public function clearTextures(_context3D:Context3D):void

Parameters

_context3D:Context3D

dispose()method 
public function dispose():void

getRenderTarget()method 
public function getRenderTarget(_rect:Rectangle):RenderTextureTarget

Parameters

_rect:Rectangle

Returns
RenderTextureTarget
getVertexProgram()method 
override public function getVertexProgram(_meshKey:String, _lightType:ELightType = null):ByteArray

Parameters

_meshKey:String
 
_lightType:ELightType (default = null)

Returns
ByteArray
postProcess()method 
public function postProcess(_context3d:Context3D, _viewport:Rectangle, _sampler:RenderTextureTarget):void

Parameters

_context3d:Context3D
 
_viewport:Rectangle
 
_sampler:RenderTextureTarget

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

Parameters

_context3D:Context3D
 
_viewport:Rectangle