---
title: GetBufferCount
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideostream/getbuffercount
---

# GetBufferCount

Returns the number of buffers in the buffer queue.

## Declaration

```occ
uint32_t GetBufferCount();
```

## See Also

### Working with video buffers

- [GetBufferList](videodriverkit/iouservideostream/getbufferlist.md)
- [GetBufferWithID](videodriverkit/iouservideostream/getbufferwithid.md)
- [addBuffer](videodriverkit/iouservideostream/addbuffer.md)
- [addBuffers](videodriverkit/iouservideostream/addbuffers.md)
- [enqueueOutputBuffer](videodriverkit/iouservideostream/enqueueoutputbuffer.md)
- [IOUserVideoBuffer](videodriverkit/iouservideobuffer.md)
- [removeAllBuffers](videodriverkit/iouservideostream/removeallbuffers.md)
- [SendOutputBufferNotification](videodriverkit/iouservideostream/sendoutputbuffernotification.md)
