@bvdmitri/web360 / Presenter
Interface: Presenter
Defined in: web360/src/presenter.ts:2
Where stitched frames are drawn and how each becomes a frame for the caller.
Properties
format
readonlyformat:GPUTextureFormat
Defined in: web360/src/presenter.ts:3
Methods
capture()
capture(
timing):Promise<VideoFrame>
Defined in: web360/src/presenter.ts:7
The frame just rendered, at the given time, as the caller receives it.
Parameters
timing
duration
number
timestamp
number
Returns
Promise<VideoFrame>
destroy()
destroy():
void
Defined in: web360/src/presenter.ts:8
Returns
void
target()
target():
GPUTexture
Defined in: web360/src/presenter.ts:5
The texture the next frame is rendered into.
Returns
GPUTexture