| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Box3D.Recording
Documentation
Create a recording buffer with an optional initial byte capacity. Pass 0 to use the default (64 KiB). The buffer grows on demand.
Returns: a new recording, owned by the caller
Binds b3CreateRecording.
Destroy a recording and free its buffer.
Binds b3DestroyRecording.
Get a pointer to the raw recording bytes. Valid until the recording buffer is modified or destroyed.
Returns: pointer to the byte buffer, or NULL if no bytes have been written
Binds b3Recording_GetData.