video_code: support rectangle texture

This commit is contained in:
FengChen 2022-08-10 10:10:32 +08:00
parent 7934137d7f
commit 98656c14a8
14 changed files with 62 additions and 15 deletions

View file

@ -24,8 +24,9 @@ enum class TextureType : u32 {
ColorCube,
ColorArrayCube,
Buffer,
Color2DRect,
};
constexpr u32 NUM_TEXTURE_TYPES = 8;
constexpr u32 NUM_TEXTURE_TYPES = 9;
enum class ImageFormat : u32 {
Typeless,