Skip to content

Commit

Permalink
Update exports
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Feb 9, 2024
1 parent 9e38573 commit c97b0d7
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/core/io/index.ts
Original file line number Diff line number Diff line change
@@ -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";
1 change: 1 addition & 0 deletions src/enums/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
1 change: 0 additions & 1 deletion src/utils/GBufferConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { ObservableMap } from "./ObservableMap.js";
* A G-Buffer configuration.
*
* @category Utils
* @internal
*/

export class GBufferConfig extends EventDispatcher<BaseEventMap> {
Expand Down
25 changes: 24 additions & 1 deletion src/utils/GBufferTextureConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
2 changes: 2 additions & 0 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit c97b0d7

Please sign in to comment.