# ColourMapShader delegate

Namespace: [Grasshopper2.Imaging](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.imaging.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public delegate ColourMapShader
```

ColourMap shader signature.

**Signature:**

```cs
Color ColourMapShader(int x, int y, double u, double v)
```

**Parameters:**

- `x` ([int](https://learn.microsoft.com/dotnet/api/system.int32)): X coordinate of pixel to set.
- `y` ([int](https://learn.microsoft.com/dotnet/api/system.int32)): Y coordinate of pixel to set.
- `u` ([double](https://learn.microsoft.com/dotnet/api/system.double)): Normalised x coordinate.
- `v` ([double](https://learn.microsoft.com/dotnet/api/system.double)): Normalised y coordinate.
