---
title: unlockBufferRepresentation()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/qcplugininputimagesource/unlockbufferrepresentation()
---

# unlockBufferRepresentation()

Releases the memory buffer representation of the image source.

## Declaration

```swift
func unlockBufferRepresentation()
```

## See Also

### Converting an Image to a Representation

- [lockTextureRepresentation(with:forBounds:)](quartz/qcplugininputimagesource/locktexturerepresentation(with:forbounds:).md)
- [unlockTextureRepresentation()](quartz/qcplugininputimagesource/unlocktexturerepresentation().md)
- [lockBufferRepresentation(withPixelFormat:colorSpace:forBounds:)](quartz/qcplugininputimagesource/lockbufferrepresentation(withpixelformat:colorspace:forbounds:).md)
- [bindTextureRepresentation(toCGLContext:textureUnit:normalizeCoordinates:)](quartz/qcplugininputimagesource/bindtexturerepresentation(tocglcontext:textureunit:normalizecoordinates:).md)
- [unbindTextureRepresentation(fromCGLContext:textureUnit:)](quartz/qcplugininputimagesource/unbindtexturerepresentation(fromcglcontext:textureunit:).md)
