# GH_Material.MaterialType enum

Namespace: [Grasshopper.Kernel.Types](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.types.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public enum GH_Material.MaterialType
```

Enumerates the possible material types.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Shader | 0 | Display shader, very basic colour information, nothing more. |
| RhinoMaterial | 1 | A material from the Rhino document, identified by ID. |
| XmlMaterial | 2 | A material defined by an RDK Xml string. |
| RmtlMaterial | 3 | A material loaded from an RMTL file. |
