diff --git a/src/core/index.ts b/src/core/index.ts index c007f6e..def8028 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -1,8 +1,8 @@ -export { default as Renderer } from './Renderer' +export { default as Renderer, RendererInjectionKey } from './Renderer' export { default as OrthographicCamera } from './OrthographicCamera' export { default as PerspectiveCamera } from './PerspectiveCamera' export { default as Camera } from './PerspectiveCamera' export { default as Group } from './Group' -export { default as Scene } from './Scene' +export { default as Scene, SceneInjectionKey } from './Scene' export { default as Object3D } from './Object3D' export { default as Raycaster } from './Raycaster' diff --git a/src/effects/index.ts b/src/effects/index.ts index 584d323..096aa5b 100644 --- a/src/effects/index.ts +++ b/src/effects/index.ts @@ -1,4 +1,4 @@ -export { default as EffectComposer } from './EffectComposer' +export { default as EffectComposer, ComposerInjectionKey } from './EffectComposer' export { default as RenderPass } from './RenderPass' export { default as BokehPass } from './BokehPass' diff --git a/src/materials/index.ts b/src/materials/index.ts index 80e6196..b46195c 100644 --- a/src/materials/index.ts +++ b/src/materials/index.ts @@ -1,3 +1,4 @@ +export { MaterialInjectionKey } from './Material' export { default as BasicMaterial } from './BasicMaterial' export { default as LambertMaterial } from './LambertMaterial' export { default as MatcapMaterial } from './MatcapMaterial' diff --git a/src/meshes/index.ts b/src/meshes/index.ts index b96d1a0..8d75503 100644 --- a/src/meshes/index.ts +++ b/src/meshes/index.ts @@ -1,4 +1,4 @@ -export { default as Mesh } from './Mesh' +export { default as Mesh, MeshInjectionKey } from './Mesh' export { default as Box } from './Box' export { default as Circle } from './Circle'