Skip to content

Commit

Permalink
remove texture view type.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluesky013 committed Aug 9, 2023
1 parent 8a8c2cc commit 9057b9b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
12 changes: 0 additions & 12 deletions cocos/gfx/base/define.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
13 changes: 0 additions & 13 deletions native/cocos/renderer/gfx-base/GFXDef-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9057b9b

Please sign in to comment.