---
title: NSOpenGLGlobalOption.useBuildCache
framework: appkit
role: symbol
role_heading: Case
path: appkit/nsopenglglobaloption/usebuildcache
---

# NSOpenGLGlobalOption.useBuildCache

Whether to enable the function compilation block cache. This is off by default. It must be enabled at startup.

## Declaration

```swift
case useBuildCache
```

## See Also

### Constants

- [NSOpenGLGlobalOption.formatCacheSize](appkit/nsopenglglobaloption/formatcachesize.md)
- [NSOpenGLGlobalOption.clearFormatCache](appkit/nsopenglglobaloption/clearformatcache.md)
- [NSOpenGLGlobalOption.retainRenderers](appkit/nsopenglglobaloption/retainrenderers.md)
