Packagelaya.webgl.shader.d2
Classpublic class ShaderDefines2D
InheritanceShaderDefines2D Inheritance ShaderDefines Inheritance Object



Public Properties
 PropertyDefined By
 Inherited_value : int = 0
ShaderDefines
Public Methods
 MethodDefined By
  
ShaderDefines2D
  
__init__():void
[static]
ShaderDefines2D
 Inherited
_reg(name:String, value:int, _name2int:Object, _int2name:Array):void
[static]
ShaderDefines
 Inherited
_toInt(names:String, _name2int:Object):int
[static]
ShaderDefines
 Inherited
_toText(value:int, _int2name:Array, _int2nameMap:Object):Object
[static]
ShaderDefines
 Inherited
add(value:*):int
ShaderDefines
 Inherited
addInt(value:int):int
ShaderDefines
 Inherited
getValue():int
ShaderDefines
 Inherited
isDefine(def:int):Boolean
ShaderDefines
  
reg(name:String, value:int):void
[static]
ShaderDefines2D
 Inherited
remove(value:*):int
ShaderDefines
 Inherited
setValue(value:int):void
ShaderDefines
  
toInt(names:String):int
[static]
ShaderDefines2D
 Inherited
toNameDic():Object
ShaderDefines
  
toText(value:int, int2name:Array, int2nameMap:Object):*
[static]
ShaderDefines2D
Public Constants
 ConstantDefined By
  COLOR2D : int = 0x02
[static]
ShaderDefines2D
  COLORADD : int = 0x40
[static]
ShaderDefines2D
  FILLTEXTURE : int = 0x100
[static]
ShaderDefines2D
  FILTERBLUR : int = 0x10
[static]
ShaderDefines2D
  FILTERCOLOR : int = 0x20
[static]
ShaderDefines2D
  FILTERGLOW : int = 0x08
[static]
ShaderDefines2D
  PRIMITIVE : int = 0x04
[static]
ShaderDefines2D
  SHADERDEFINE_FSHIGHPRECISION : int = 0x400
[static]
ShaderDefines2D
  SKINMESH : int = 0x200
[static]
ShaderDefines2D
  TEXTURE2D : int = 0x01
[static]
ShaderDefines2D
  WORLDMAT : int = 0x80
[static]
ShaderDefines2D
Constructor Detail
ShaderDefines2D()Constructor
public function ShaderDefines2D()



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

reg()method 
public static function reg(name:String, value:int):void

Parameters

name:String
 
value:int

toInt()method 
public static function toInt(names:String):int

Parameters

names:String

Returns
int
toText()method 
public static function toText(value:int, int2name:Array, int2nameMap:Object):*

Parameters

value:int
 
int2name:Array
 
int2nameMap:Object

Returns
*
Constant Detail
COLOR2DConstant
public static const COLOR2D:int = 0x02

COLORADDConstant 
public static const COLORADD:int = 0x40

FILLTEXTUREConstant 
public static const FILLTEXTURE:int = 0x100

FILTERBLURConstant 
public static const FILTERBLUR:int = 0x10

FILTERCOLORConstant 
public static const FILTERCOLOR:int = 0x20

FILTERGLOWConstant 
public static const FILTERGLOW:int = 0x08

PRIMITIVEConstant 
public static const PRIMITIVE:int = 0x04

SHADERDEFINE_FSHIGHPRECISIONConstant 
public static const SHADERDEFINE_FSHIGHPRECISION:int = 0x400

SKINMESHConstant 
public static const SKINMESH:int = 0x200

TEXTURE2DConstant 
public static const TEXTURE2D:int = 0x01

WORLDMATConstant 
public static const WORLDMAT:int = 0x80