2
0
Эх сурвалжийг харах

Merge pull request #18383 from Mugen87/dev29

TS: Remove PixelType, use TextureDataType instead.
Michael Herzog 5 жил өмнө
parent
commit
b676531cd1
1 өөрчлөгдсөн 4 нэмэгдсэн , 7 устгасан
  1. 4 7
      src/constants.d.ts

+ 4 - 7
src/constants.d.ts

@@ -157,13 +157,10 @@ export const IntType: TextureDataType;
 export const UnsignedIntType: TextureDataType;
 export const FloatType: TextureDataType;
 export const HalfFloatType: TextureDataType;
-
-// Pixel types
-export enum PixelType {}
-export const UnsignedShort4444Type: PixelType;
-export const UnsignedShort5551Type: PixelType;
-export const UnsignedShort565Type: PixelType;
-export const UnsignedInt248Type: PixelType;
+export const UnsignedShort4444Type: TextureDataType;
+export const UnsignedShort5551Type: TextureDataType;
+export const UnsignedShort565Type: TextureDataType;
+export const UnsignedInt248Type: TextureDataType;
 
 // Pixel formats
 export enum PixelFormat {}