Packagelaya.webgl.shader.d2.value
Classpublic class Value2D
InheritanceValue2D Inheritance ShaderValue Inheritance Object
Subclasses Color2dSV, FillTextureSV, PrimitiveSV, SkinSV, TextureSV



Public Properties
 PropertyDefined By
  alpha : Number = 1.0
Value2D
  ALPHA : Number = 1.0
Value2D
  color : Array
Value2D
  colorAdd : Array
Value2D
  defines : ShaderDefines2D
Value2D
  fillStyle : DrawStyle
Value2D
  filters : Array
Value2D
  glTexture : Bitmap
Value2D
  mainID : int
Value2D
  mmat : Array
Value2D
  mul_mmat : Array
Value2D
  position : Array
Value2D
  _POSITION : Array
[static]
Value2D
  shader : Shader
Value2D
  size : Array
Value2D
  strokeStyle : DrawStyle
Value2D
  subID : int = 0
Value2D
  TEMPMAT4_ARRAY : Array
[static]
Value2D
  _TEXCOORD : Array
[static]
Value2D
  texture : *
Value2D
  textureHost : Texture
Value2D
  u_mmat2 : Array
Value2D
Protected Properties
 PropertyDefined By
  _cache : Array
[static]
Value2D
  _typeClass : Object
[static]
Value2D
Public Methods
 MethodDefined By
  
Value2D(mainID:int, subID:int)
Value2D
  
__init__():void
[static]
Value2D
  
clear():void
Value2D
  
create(mainType:int, subType:int):Value2D
[static]
Value2D
  
Value2D
  
release():void
Value2D
  
setFilters(value:Array):void
Value2D
  
setValue(value:Shader2D):void
Value2D
  
upload():void
Value2D
Property Detail
_cacheproperty
protected static var _cache:Array

_POSITIONproperty 
public static var _POSITION:Array

_TEXCOORDproperty 
public static var _TEXCOORD:Array

_typeClassproperty 
protected static var _typeClass:Object

alphaproperty 
public var alpha:Number = 1.0

ALPHAproperty 
public var ALPHA:Number = 1.0

colorproperty 
public var color:Array

colorAddproperty 
public var colorAdd:Array

definesproperty 
public var defines:ShaderDefines2D

fillStyleproperty 
public var fillStyle:DrawStyle

filtersproperty 
public var filters:Array

glTextureproperty 
public var glTexture:Bitmap

mainIDproperty 
public var mainID:int

mmatproperty 
public var mmat:Array

mul_mmatproperty 
public var mul_mmat:Array

positionproperty 
public var position:Array

shaderproperty 
public var shader:Shader

sizeproperty 
public var size:Array

strokeStyleproperty 
public var strokeStyle:DrawStyle

subIDproperty 
public var subID:int = 0

TEMPMAT4_ARRAYproperty 
public static var TEMPMAT4_ARRAY:Array

textureproperty 
public var texture:*

textureHostproperty 
public var textureHost:Texture

u_mmat2property 
public var u_mmat2:Array

Constructor Detail
Value2D()Constructor
public function Value2D(mainID:int, subID:int)



Parameters
mainID:int
 
subID:int
Method Detail
__init__()method
public static function __init__():void

clear()method 
public function clear():void

create()method 
public static function create(mainType:int, subType:int):Value2D

Parameters

mainType:int
 
subType:int

Returns
Value2D
refresh()method 
public function refresh():ShaderValue

Returns
ShaderValue
release()method 
public function release():void

setFilters()method 
public function setFilters(value:Array):void

Parameters

value:Array

setValue()method 
public function setValue(value:Shader2D):void

Parameters

value:Shader2D

upload()method 
public function upload():void