diff --git a/cocos/gfx/base/define.ts b/cocos/gfx/base/define.ts index 9dd0a8c4bcc..6e614fb3630 100644 --- a/cocos/gfx/base/define.ts +++ b/cocos/gfx/base/define.ts @@ -390,18 +390,6 @@ export enum TextureType { TEX2D_ARRAY, } -export enum TextureViewType { - TEX1D, - TEX1D_ARRAY, - TEX2D, - TEX2D_ARRAY, - TEX2DMS, - TEX2DMS_ARRAY, - TEX3D, - CUBE, - CUBE_ARRAY -} - export enum TextureUsageBit { NONE = 0, TRANSFER_SRC = 0x1, diff --git a/native/cocos/renderer/gfx-base/GFXDef-common.h b/native/cocos/renderer/gfx-base/GFXDef-common.h index f90b6b2999e..a8a6e4b22d2 100644 --- a/native/cocos/renderer/gfx-base/GFXDef-common.h +++ b/native/cocos/renderer/gfx-base/GFXDef-common.h @@ -457,19 +457,6 @@ enum class TextureType : uint32_t { }; CC_ENUM_CONVERSION_OPERATOR(TextureType); -enum class TextureViewType : uint32_t { - TEX1D, - TEX1D_ARRAY, - TEX2D, - TEX2D_ARRAY, - TEX2DMS, - TEX2DMS_ARRAY, - TEX3D, - CUBE, - CUBE_ARRAY -}; -CC_ENUM_CONVERSION_OPERATOR(TextureViewType); - enum class TextureUsageBit : uint32_t { NONE = 0, TRANSFER_SRC = 0x1,