---
title: CVPixelBufferLockFlags
framework: corevideo
role: symbol
role_heading: Structure
path: corevideo/cvpixelbufferlockflags
---

# CVPixelBufferLockFlags

The flags to pass to CVPixelBufferLockBaseAddress(_:_:) and CVPixelBufferUnlockBaseAddress(_:_:).

## Declaration

```swift
struct CVPixelBufferLockFlags
```

## Topics

### Constants

- [readOnly](corevideo/cvpixelbufferlockflags/readonly.md)

### Initializers

- [init(rawValue:)](corevideo/cvpixelbufferlockflags/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Data Types

- [CVPixelBuffer](corevideo/cvpixelbuffer.md)
- [CVPlanarComponentInfo](corevideo/cvplanarcomponentinfo.md)
- [CVPlanarPixelBufferInfo](corevideo/cvplanarpixelbufferinfo.md)
- [CVPlanarPixelBufferInfo_YCbCrPlanar](corevideo/cvplanarpixelbufferinfo_ycbcrplanar.md)
- [CVPlanarPixelBufferInfo_YCbCrBiPlanar](corevideo/cvplanarpixelbufferinfo_ycbcrbiplanar.md)
