Packagecom.yogurt3d.core.effects.filters
Classpublic class FilterPixelation
InheritanceFilterPixelation Inheritance Filter Inheritance Shader Inheritance Object



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
  pixelHeight : Number
FilterPixelation
  pixelWidth : Number
FilterPixelation
Protected Properties
 PropertyDefined By
 Inheritedm_height : Number
[static]
Filter
 Inheritedm_width : Number
[static]
Filter
Public Methods
 MethodDefined By
  
FilterPixelation(_pixelWidth:Number = 15.0, _pixelHeight:Number = 10.0)
FilterPixelation
 Inherited
clearTextures(_context3D:Context3D):void
Filter
 Inherited
dispose():void
Filter
 Inherited
Shader
  
getFragmentProgram(_lightType:ELightType = null):ByteArray
[override]
FilterPixelation
 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, view:Rectangle):void
[override]
FilterPixelation
Property Detail
pixelHeightproperty
pixelHeight:Number


Implementation
    public function get pixelHeight():Number
    public function set pixelHeight(value:Number):void
pixelWidthproperty 
pixelWidth:Number


Implementation
    public function get pixelWidth():Number
    public function set pixelWidth(value:Number):void
Constructor Detail
FilterPixelation()Constructor
public function FilterPixelation(_pixelWidth:Number = 15.0, _pixelHeight:Number = 10.0)



Parameters
_pixelWidth:Number (default = 15.0)
 
_pixelHeight:Number (default = 10.0)
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, view:Rectangle):void

Parameters

_context3D:Context3D
 
view:Rectangle