# TextureCacheAccess enum

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 enum TextureCacheAccess
```

Enumerates the possible ways in which lazy texture caches can be accessed.

## Values

| Name | Value | Description |
| --- | --- | --- |
| CachedOnly | 0 | Textures are only returned if they already exist. |
| QuickWillDo | 1 | The best current texture is returned, be it quick or pretty. If no texture exist yet, a quick one will be computed on the caller thread. |
| QuickNowPrettyLater | 2 | The best current texture is returned, be it quick or pretty. If a pretty texture doesn't exist yet, it will be computed on a background thread and it will become available some time in the near future. |
| PrettyNow | 3 | If the pretty texture doesn't exist yet, it will be computed on the caller thread. |
