ScrollSceneSetupContext<S>
Defined in: use-scroll-scene.ts:15
What a useScrollScene setup function is given.
Type Parameters
| Type Parameter | Default type |
|---|---|
S extends ScrollScene | ScrollScene |
Properties
| Property | Type | Description |
|---|---|---|
gl | WTCGLRenderingContext | WebGL context. |
renderer | ScrollRenderer | The renderer from the nearest ScrollRendererProvider. |
scrollScene | S | The scene, constructed and ready: attach meshes to scrollScene.scene and spread scrollScene.uniforms into your programs. |