Make data texture constructor consistent with other textures (#15928)

This commit is contained in:
noveyak
2017-06-01 06:56:56 -07:00
committed by Andy
parent 48c753a7b2
commit 702a5fa4b9

View File

@@ -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
);