Click or drag to resize

VisualServerShaderSetCode Method

Sets a shader's code.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void ShaderSetCode(
	RID shader,
	string code
)

Parameters

shader
Type: GodotRID

[Missing <param name="shader"/> documentation for "M:Godot.VisualServer.ShaderSetCode(Godot.RID,System.String)"]

code
Type: SystemString

[Missing <param name="code"/> documentation for "M:Godot.VisualServer.ShaderSetCode(Godot.RID,System.String)"]

See Also