Skip to content

Commit 3fbe9ea

Browse files
authored
TSL: Remove string, arrayBuffer definitions (#33430)
1 parent 1708f55 commit 3fbe9ea

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

src/Three.TSL.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export const anisotropyT = TSL.anisotropyT;
5454
export const any = TSL.any;
5555
export const append = TSL.append;
5656
export const array = TSL.array;
57-
export const arrayBuffer = TSL.arrayBuffer;
5857
export const asin = TSL.asin;
5958
export const asinh = TSL.asinh;
6059
export const assign = TSL.assign;
@@ -519,7 +518,6 @@ export const stepElement = TSL.stepElement;
519518
export const storage = TSL.storage;
520519
export const storageBarrier = TSL.storageBarrier;
521520
export const storageTexture = TSL.storageTexture;
522-
export const string = TSL.string;
523521
export const struct = TSL.struct;
524522
export const sub = TSL.sub;
525523
export const subgroupAdd = TSL.subgroupAdd;

src/nodes/tsl/TSLCore.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,9 +1192,6 @@ export const mat2 = new ConvertType( 'mat2' );
11921192
export const mat3 = new ConvertType( 'mat3' );
11931193
export const mat4 = new ConvertType( 'mat4' );
11941194

1195-
export const string = ( value = '' ) => new ConstNode( value, 'string' );
1196-
export const arrayBuffer = ( value ) => new ConstNode( value, 'ArrayBuffer' );
1197-
11981195
addMethodChaining( 'toColor', color );
11991196
addMethodChaining( 'toFloat', float );
12001197
addMethodChaining( 'toInt', int );

0 commit comments

Comments
 (0)