Skip to content

Commit

Permalink
Revert "feat(shadertools) Export Uniform types (#2108)" (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer committed Jun 20, 2024
1 parent 6ea2de7 commit d75da8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/shadertools/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export type {ShaderModule} from './lib/shader-module/shader-module';
export type {ShaderPass} from './lib/shader-module/shader-pass';
export type {ShaderHook} from './lib/shader-assembly/shader-hooks';
export type {ShaderInjection} from './lib/shader-assembly/shader-injections';
export type {UniformDataType, UniformFormat} from './types';
export {ShaderModuleInstance} from './lib/shader-module/shader-module-instance';

// ShaderAssembler
Expand Down
2 changes: 2 additions & 0 deletions modules/shadertools/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export {TypedArray, NumberArray, NumericArray} from '@math.gl/types';
// export type BigIntOrNumberArray = NumberArray | BigIntTypedArray;

// UNIFORM TYPES
// These are "duplicated" from core module to avoid cross-dependencies

export type UniformDataType = 'uint32' | 'sint32' | 'float32';

export type UniformFormat =
Expand Down

0 comments on commit d75da8d

Please sign in to comment.