From c97b0d7f4a7d4eed7007ba5d78f79b414abbf9d9 Mon Sep 17 00:00:00 2001 From: "Raoul v. R" Date: Fri, 9 Feb 2024 19:27:03 +0100 Subject: [PATCH] Update exports --- src/core/io/index.ts | 3 +++ src/enums/index.ts | 1 + src/utils/GBufferConfig.ts | 1 - src/utils/GBufferTextureConfig.ts | 25 ++++++++++++++++++++++++- src/utils/index.ts | 2 ++ 5 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/core/io/index.ts b/src/core/io/index.ts index fb32e3a49..ad6ccf19b 100644 --- a/src/core/io/index.ts +++ b/src/core/io/index.ts @@ -1,3 +1,6 @@ export * from "./Input.js"; export * from "./IOManager.js"; export * from "./Output.js"; +export * from "./RenderTargetResource.js"; +export * from "./Resource.js"; +export * from "./TextureResource.js"; diff --git a/src/enums/index.ts b/src/enums/index.ts index e942b3c92..88aaeebe9 100644 --- a/src/enums/index.ts +++ b/src/enums/index.ts @@ -9,6 +9,7 @@ export * from "./GlitchMode.js"; export * from "./KernelSize.js"; export * from "./LogLevel.js"; export * from "./MaskFunction.js"; +export * from "./MSAASamples.js"; export * from "./Precision.js"; export * from "./PredicationMode.js"; export * from "./SMAAPreset.js"; diff --git a/src/utils/GBufferConfig.ts b/src/utils/GBufferConfig.ts index d189d4290..075caa69b 100644 --- a/src/utils/GBufferConfig.ts +++ b/src/utils/GBufferConfig.ts @@ -9,7 +9,6 @@ import { ObservableMap } from "./ObservableMap.js"; * A G-Buffer configuration. * * @category Utils - * @internal */ export class GBufferConfig extends EventDispatcher { diff --git a/src/utils/GBufferTextureConfig.ts b/src/utils/GBufferTextureConfig.ts index cf16c0a80..fe02c8bf0 100644 --- a/src/utils/GBufferTextureConfig.ts +++ b/src/utils/GBufferTextureConfig.ts @@ -4,15 +4,38 @@ import { MagnificationTextureFilter, MinificationTextureFilter, PixelFormat, Tex * A G-Buffer texture configuration. * * @category Utils - * @internal */ export interface GBufferTextureConfig { + /** + * The texture magnification filter. + */ + magFilter: MagnificationTextureFilter; + + /** + * The texture minification filter. + */ + minFilter: MinificationTextureFilter; + + /** + * The pixel format. + */ + format: PixelFormat; + + /** + * The texture data type. + */ + type: TextureDataType; + + /** + * Indicates whether the texture stores color values. + */ + isColorBuffer: boolean; } diff --git a/src/utils/index.ts b/src/utils/index.ts index 60e9a511c..f4e81fdb1 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -4,6 +4,8 @@ export * from "./ClearFlags.js"; export * from "./ClearValues.js"; export * from "./EffectShaderData.js"; export * from "./GaussKernel.js"; +export * from "./GBufferConfig.js"; +export * from "./GBufferTextureConfig.js"; export * from "./ImmutableTimer.js"; export * from "./Log.js"; export * from "./ObservableMap.js";