read onlymainPass:Pass
name:String
addPass<T>(p:T):T
@:value({ inheritMain : true })allocPass(name:String, inheritMain:Bool = true):Pass
clone(?m:BaseMaterial):BaseMaterial
getPass(name:String):Pass
getPasses():Array<Pass>
removePass(p:Pass):Bool
props:Any
getDefaultProps(?kind:String):Any
refreshProps():Void
setDefaultProps(kind:String):Void