Click or drag to resize

VisualServerShaderSetDefaultTextureParam 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: GodotRID

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

name
Type: SystemString

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

texture
Type: GodotRID

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

See Also