# RgbCubeCache class

Namespace: [Grasshopper2.UI.ColourPicker.Models](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.colourpicker.models.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class RgbCubeCache : LazyTextureCache<decimal>
```

Class for caching RGB colour space sections.

## Constructors

- [RgbCubeCache](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.rgbcubecache/ctor.md): Create a new RGB section cache.

## Methods

- [CreateTexture](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.rgbcubecache/createtexture.md): Creates a texture with the specified properties.
- [ProcessKey](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.colourpicker.models.rgbcubecache/processkey.md): Override this method if you wish to perform some operation to key values such as rounding or limiting. The base implementation returns the input key.

## Inherited Members

- From [LazyTextureCache<TKey>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.lazytexturecache-1.md): [AutoCancelRendering](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.lazytexturecache-1/autocancelrendering.md), [CacheLimit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.lazytexturecache-1/cachelimit.md), [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.lazytexturecache-1/count.md), [Filter](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.lazytexturecache-1/filter.md), [Padding](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.lazytexturecache-1/padding.md), [PrettySize](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.lazytexturecache-1/prettysize.md), [QuickSize](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.lazytexturecache-1/quicksize.md), [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.lazytexturecache-1/item.md), [Clear](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.lazytexturecache-1/clear.md)
