Browse Source

Add missing imports after merge

sebastien 6 years ago
parent
commit
4e1accfa62
2 changed files with 3 additions and 0 deletions
  1. 2 0
      src/Layer/layer.ts
  2. 1 0
      src/Layer/layerSceneComponent.ts

+ 2 - 0
src/Layer/layer.ts

@@ -12,6 +12,8 @@ import { _TimeToken } from "Instrumentation/timeToken";
 import { _DepthCullingState, _StencilState, _AlphaState } from "States";
 import { LayerSceneComponent } from "./layerSceneComponent";
 import { Constants } from "Engine/constants";
+import { RenderTargetTexture } from "Materials/Textures/renderTargetTexture";
+
     /**
      * This represents a full screen 2d layer.
      * This can be usefull to display a picture in the  background of your scene for instance.

+ 1 - 0
src/Layer/layerSceneComponent.ts

@@ -5,6 +5,7 @@ import { SceneComponentConstants, ISceneComponent } from "sceneComponent";
 import { _TimeToken } from "Instrumentation/timeToken";
 import { _DepthCullingState, _StencilState, _AlphaState } from "States";
 import { Layer } from "./layer";
+import { RenderTargetTexture } from "Materials/Textures/renderTargetTexture";
 
 declare module "abstractScene" {
     export interface AbstractScene {