|
@@ -31,6 +31,7 @@ import { Constants } from "./constants";
|
|
|
import { DomManagement } from "../Misc/domManagement";
|
|
|
import { Logger } from "../Misc/logger";
|
|
|
import { EngineStore } from "./engineStore";
|
|
|
+import { RenderTargetCreationOptions } from "../Materials/Textures/renderTargetCreationOptions";
|
|
|
|
|
|
declare type Texture = import("../Materials/Textures/texture").Texture;
|
|
|
declare type VideoTexture = import("../Materials/Textures/videoTexture").VideoTexture;
|
|
@@ -87,26 +88,6 @@ declare type RenderTargetTexture = import("../Materials/Textures/renderTargetTex
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Define options used to create a render target texture
|
|
|
- */
|
|
|
- export class RenderTargetCreationOptions {
|
|
|
- /**
|
|
|
- * Specifies is mipmaps must be generated
|
|
|
- */
|
|
|
- generateMipMaps?: boolean;
|
|
|
- /** Specifies whether or not a depth should be allocated in the texture (true by default) */
|
|
|
- generateDepthBuffer?: boolean;
|
|
|
- /** Specifies whether or not a stencil should be allocated in the texture (false by default)*/
|
|
|
- generateStencilBuffer?: boolean;
|
|
|
- /** Defines texture type (int by default) */
|
|
|
- type?: number;
|
|
|
- /** Defines sampling mode (trilinear by default) */
|
|
|
- samplingMode?: number;
|
|
|
- /** Defines format (RGBA by default) */
|
|
|
- format?: number;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
* Define options used to create a depth texture
|
|
|
*/
|
|
|
export class DepthTextureCreationOptions {
|