Skip to content

Commit cb9b676

Browse files
committed
fix(soba/misc): remove deprecated TextureEncoding
1 parent d92eebf commit cb9b676

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

libs/soba/misc/src/lib/deprecated.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,3 @@ export const setUpdateRange = (
1414
Object.assign(attribute, { updateRange });
1515
}
1616
};
17-
18-
export const LinearEncoding = 3000;
19-
export const sRGBEncoding = 3001;
20-
21-
/**
22-
* NOTE: TextureEncoding was deprecated in r152, and removed in r162.
23-
*/
24-
export type TextureEncoding = typeof LinearEncoding | typeof sRGBEncoding;

libs/soba/misc/src/lib/fbo.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
import { injectStore } from 'angular-three';
1515
import { assertInjector } from 'ngxtension/assert-injector';
1616
import * as THREE from 'three';
17-
import { TextureEncoding } from './deprecated';
1817

1918
interface FBOSettings {
2019
/** Defines the count of MSAA samples. Can only be used with WebGL 2. Default: 0 */
@@ -34,7 +33,6 @@ interface FBOSettings {
3433
stencilBuffer?: boolean | undefined; // false;
3534
generateMipmaps?: boolean | undefined; // true;
3635
depthTexture?: THREE.DepthTexture | undefined;
37-
encoding?: TextureEncoding | undefined;
3836
colorSpace?: THREE.ColorSpace | undefined;
3937
}
4038

0 commit comments

Comments
 (0)