mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 17:35:49 +08:00
Make data texture constructor consistent with other textures (#15928)
This commit is contained in:
14
types/three/three-core.d.ts
vendored
14
types/three/three-core.d.ts
vendored
@@ -5886,13 +5886,13 @@ export class DataTexture extends Texture {
|
||||
data: ArrayBuffer | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array,
|
||||
width: number,
|
||||
height: number,
|
||||
format: PixelFormat,
|
||||
type: TextureDataType,
|
||||
mapping: Mapping,
|
||||
wrapS: Wrapping,
|
||||
wrapT: Wrapping,
|
||||
magFilter: TextureFilter,
|
||||
minFilter: TextureFilter,
|
||||
format?: PixelFormat,
|
||||
type?: TextureDataType,
|
||||
mapping?: Mapping,
|
||||
wrapS?: Wrapping,
|
||||
wrapT?: Wrapping,
|
||||
magFilter?: TextureFilter,
|
||||
minFilter?: TextureFilter,
|
||||
anisotropy?: number,
|
||||
encoding?: TextureEncoding
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user