Edit

Share via


SKShader.FromFile(String) Method

Definition

Creates a new shader from the named file.

[Foundation.Export("shaderWithFileNamed:")]
public static SpriteKit.SKShader FromFile (string name);
static member FromFile : string -> SpriteKit.SKShader

Parameters

name
String

Returns

Attributes

Applies to