Packagelaya.webgl.utils
Classpublic class RenderState2D
InheritanceRenderState2D Inheritance Object



Public Properties
 PropertyDefined By
  curRenderTarget : RenderTarget2D
[static]
RenderState2D
  height : Number = 0
[static]
RenderState2D
  TEMPMAT4_ARRAY : Array
[static]
RenderState2D
  width : Number = 0
[static]
RenderState2D
  worldAlpha : Number = 1.0
[static]
RenderState2D
  worldClipRect : Rectangle
[static]
RenderState2D
  worldFilters : Array
[static]
RenderState2D
  worldMatrix : Matrix
[static]
RenderState2D
  worldMatrix4 : Array
[static]
RenderState2D
  worldScissorTest : Boolean = false
[static]
RenderState2D
  worldShaderDefines : ShaderDefines2D
[static]
RenderState2D
Public Methods
 MethodDefined By
  
clear():void
[static]
RenderState2D
  
getMatrArray():Array
[static]
RenderState2D
  
mat2MatArray(mat:Matrix, matArray:Array):Array
[static]
RenderState2D
  
[static]
RenderState2D
Public Constants
 ConstantDefined By
  _MAXSIZE : int = 99999999
[static]
RenderState2D
Property Detail
curRenderTargetproperty
public static var curRenderTarget:RenderTarget2D

heightproperty 
public static var height:Number = 0

TEMPMAT4_ARRAYproperty 
public static var TEMPMAT4_ARRAY:Array

widthproperty 
public static var width:Number = 0

worldAlphaproperty 
public static var worldAlpha:Number = 1.0

worldClipRectproperty 
public static var worldClipRect:Rectangle

worldFiltersproperty 
public static var worldFilters:Array

worldMatrixproperty 
public static var worldMatrix:Matrix

worldMatrix4property 
public static var worldMatrix4:Array

worldScissorTestproperty 
public static var worldScissorTest:Boolean = false

worldShaderDefinesproperty 
public static var worldShaderDefines:ShaderDefines2D

Method Detail
clear()method
public static function clear():void

getMatrArray()method 
public static function getMatrArray():Array

Returns
Array
mat2MatArray()method 
public static function mat2MatArray(mat:Matrix, matArray:Array):Array

Parameters

mat:Matrix
 
matArray:Array

Returns
Array
restoreTempArray()method 
public static function restoreTempArray():void

Constant Detail
_MAXSIZEConstant
public static const _MAXSIZE:int = 99999999