Skip to main content

Interface: BufferProps

Properties

releaseOnUnmount?

optional releaseOnUnmount: boolean

Default

true

Defined in

src/hooks/useBuffer.ts:28


source

source: BufferSource

If you are passing in a .glb model or similar from your app's bundle using require(..), make sure to add glb as an asset extension to metro.config.js! If you are passing in a { url: ... }, make sure the URL points directly to a .glb model. This can either be a web URL (http://../https://..), a local file (file://..), or an native asset path (path/to/asset.glb)

Defined in

src/hooks/useBuffer.ts:23