Package | laya.webgl.shader |
Class | public class ShaderDefines |
Inheritance | ShaderDefines Object |
Subclasses | ShaderDefines2D |
Property | Defined By | ||
---|---|---|---|
_value : int = 0 | ShaderDefines |
Method | Defined 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 |
_value | property |
public var _value:int = 0
ShaderDefines | () | Constructor |
public function ShaderDefines(name2int:Object, int2name:Array, int2nameMap:Array)
name2int:Object | |
int2name:Array | |
int2nameMap:Array |
_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 |
int |
_toText | () | method |
public static function _toText(value:int, _int2name:Array, _int2nameMap:Object):Object
Parameters
value:int | |
_int2name:Array | |
_int2nameMap:Object |
Object |
add | () | method |
public function add(value:*):int
Parameters
value:* |
int |
addInt | () | method |
public function addInt(value:int):int
Parameters
value:int |
int |
getValue | () | method |
public function getValue():int
Returnsint |
isDefine | () | method |
public function isDefine(def:int):Boolean
Parameters
def:int |
Boolean |
remove | () | method |
public function remove(value:*):int
Parameters
value:* |
int |
setValue | () | method |
public function setValue(value:int):void
Parameters
value:int |
toNameDic | () | method |
public function toNameDic():Object
ReturnsObject |