Click or drag to resize

VisualServerMaterialGetShader Method

Returns the shader of a certain material's shader. Returns an empty RID if the material doesn't have a shader.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static RID MaterialGetShader(
	RID shaderMaterial
)

Parameters

shaderMaterial
Type: GodotRID

[Missing <param name="shaderMaterial"/> documentation for "M:Godot.VisualServer.MaterialGetShader(Godot.RID)"]

Return Value

Type: RID

[Missing <returns> documentation for "M:Godot.VisualServer.MaterialGetShader(Godot.RID)"]

See Also