提交 c9d9425e 编写于 作者: M Mugen87

TS: Fix .format type in CompressedTexture.

上级 d737903b
......@@ -3,7 +3,7 @@ import {
Mapping,
Wrapping,
TextureFilter,
PixelFormat,
CompressedPixelFormat,
TextureDataType,
TextureEncoding,
} from '../constants';
......@@ -14,7 +14,7 @@ export class CompressedTexture extends Texture {
mipmaps: ImageData[],
width: number,
height: number,
format?: PixelFormat,
format?: CompressedPixelFormat,
type?: TextureDataType,
mapping?: Mapping,
wrapS?: Wrapping,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册