Available on all targets
staticclone(fromShader:ShaderImpl):ShaderImpl
Available on unity
new()
Available on clay
new(?customAttributes:ReadOnlyArray<ShaderAttribute>)
Available on headless
new(unityShader:Dynamic, ?customAttributes:ReadOnlyArray<ShaderAttribute>)
@:value(null)customAttributes:ReadOnlyArray<ShaderAttribute> = null
@:value(false)isBatchingMultiTexture:Bool = false
@:value(null)path:String = null
@:value(null)unityShader:Dynamic = null
clone():ShaderImpl
setInt(name:String, value:Int):Void
setFloat(name:String, value:Float):Void
setColor(name:String, r:Float, g:Float, b:Float, a:Float):Void
setVec2(name:String, x:Float, y:Float):Void
setVec3(name:String, x:Float, y:Float, z:Float):Void
setVec4(name:String, x:Float, y:Float, z:Float, w:Float):Void
setFloatArray(name:String, array:Array<Float>):Void
setTexture(name:String, texture:Texture):Void
@:has_untypedsetMat4FromTransform(name:String, transform:Transform):Void