VisualServerSingleton.materialGetShader

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

struct VisualServerSingleton
@nogc nothrow const
RID
materialGetShader

Meta