Click or drag to resize

VisualServer.ShaderSetDefaultTextureParam Method

Sets a shader's default texture. Overwrites the texture given by name.

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

Parameters

shader
Type: Godot.RID

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

name
Type: System.String

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

texture
Type: Godot.RID

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

See Also