| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Box2D.Recording
Documentation
Create a recording buffer. The buffer grows on demand. @p byteCapacity pre-sizes it to avoid reallocations during a known-length session. Pass 0 for a small default.
Returns: A recording handle, freed with b2DestroyRecording
Binds b2CreateRecording.
destroy :: Ptr Recording -> IO () Source #
Destroy a recording buffer and free its memory.
Binds b2DestroyRecording.