---
title: CGWindowBackingType
framework: coregraphics
role: symbol
role_heading: Enumeration
path: coregraphics/cgwindowbackingtype
---

# CGWindowBackingType

The data type used to specify the backing option for a given window.

## Declaration

```swift
enum CGWindowBackingType
```

## Overview

Overview This type is used in conjunction with the constants described in Backing Store Types.

## Topics

### Constants

- [CGWindowBackingType.backingStoreBuffered](coregraphics/cgwindowbackingtype/backingstorebuffered.md)
- [CGWindowBackingType.backingStoreNonretained](coregraphics/cgwindowbackingtype/backingstorenonretained.md)
- [CGWindowBackingType.backingStoreRetained](coregraphics/cgwindowbackingtype/backingstoreretained.md)

### Initializers

- [init(rawValue:)](coregraphics/cgwindowbackingtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Enumerations

- [CGCaptureOptions](coregraphics/cgcaptureoptions.md)
- [CGColorConversionInfoTransformType](coregraphics/cgcolorconversioninfotransformtype.md)
- [CGColorRenderingIntent](coregraphics/cgcolorrenderingintent.md)
- [CGConfigureOption](coregraphics/cgconfigureoption.md)
- [CGDisplayChangeSummaryFlags](coregraphics/cgdisplaychangesummaryflags.md)
- [CGDisplayStreamFrameStatus](coregraphics/cgdisplaystreamframestatus.md)
- [CGDisplayStreamUpdateRectType](coregraphics/cgdisplaystreamupdaterecttype.md)
- [CGError](coregraphics/cgerror.md)
- [CGEventField](coregraphics/cgeventfield.md)
- [CGEventFilterMask](coregraphics/cgeventfiltermask.md)
- [CGEventFlags](coregraphics/cgeventflags.md)
- [CGEventMouseSubtype](coregraphics/cgeventmousesubtype.md)
- [CGEventSourceStateID](coregraphics/cgeventsourcestateid.md)
- [CGEventSuppressionState](coregraphics/cgeventsuppressionstate.md)
- [CGEventTapLocation](coregraphics/cgeventtaplocation.md)
