Packagelaya.webgl.shader
Classpublic class ShaderDefines
InheritanceShaderDefines Inheritance Object
Subclasses ShaderDefines2D



Public Properties
 PropertyDefined By
  _value : int = 0
ShaderDefines
Public Methods
 MethodDefined By
  
ShaderDefines(name2int:Object, int2name:Array, int2nameMap:Array)
ShaderDefines
  
_reg(name:String, value:int, _name2int:Object, _int2name:Array):void
[static]
ShaderDefines
  
_toInt(names:String, _name2int:Object):int
[static]
ShaderDefines
  
_toText(value:int, _int2name:Array, _int2nameMap:Object):Object
[static]
ShaderDefines
  
add(value:*):int
ShaderDefines
  
addInt(value:int):int
ShaderDefines
  
getValue():int
ShaderDefines
  
isDefine(def:int):Boolean
ShaderDefines
  
remove(value:*):int
ShaderDefines
  
setValue(value:int):void
ShaderDefines
  
toNameDic():Object
ShaderDefines
Property Detail
_valueproperty
public var _value:int = 0

Constructor Detail
ShaderDefines()Constructor
public function ShaderDefines(name2int:Object, int2name:Array, int2nameMap:Array)



Parameters
name2int:Object
 
int2name:Array
 
int2nameMap:Array
Method Detail
_reg()method
public static function _reg(name:String, value:int, _name2int:Object, _int2name:Array):void

Parameters

name:String
 
value:int
 
_name2int:Object
 
_int2name:Array

_toInt()method 
public static function _toInt(names:String, _name2int:Object):int

Parameters

names:String
 
_name2int:Object

Returns
int
_toText()method 
public static function _toText(value:int, _int2name:Array, _int2nameMap:Object):Object

Parameters

value:int
 
_int2name:Array
 
_int2nameMap:Object

Returns
Object
add()method 
public function add(value:*):int

Parameters

value:*

Returns
int
addInt()method 
public function addInt(value:int):int

Parameters

value:int

Returns
int
getValue()method 
public function getValue():int

Returns
int
isDefine()method 
public function isDefine(def:int):Boolean

Parameters

def:int

Returns
Boolean
remove()method 
public function remove(value:*):int

Parameters

value:*

Returns
int
setValue()method 
public function setValue(value:int):void

Parameters

value:int

toNameDic()method 
public function toNameDic():Object

Returns
Object