[Feat] (MG_Backend/DirectGLES): sync tex buffer to backend

This commit is contained in:
2025-12-10 09:17:30 +08:00
parent cb4e6b5f19
commit b79424a78c
4 changed files with 42 additions and 4 deletions
+2 -1
View File
@@ -54,10 +54,11 @@ namespace MobileGL::MG_Backend::DirectGLES {
SizeT height = 0;
SizeT depth = 0;
SizeT mipmapLevels = 0;
Uint bufferExternalIndex = 0;
bool operator==(const StateTextureBasicInfo& other) const {
return internalFormat == other.internalFormat && width == other.width && height == other.height &&
depth == other.depth && mipmapLevels == other.mipmapLevels;
depth == other.depth && mipmapLevels == other.mipmapLevels && bufferExternalIndex == other.bufferExternalIndex;
}
bool operator!=(const StateTextureBasicInfo& other) const { return !(*this == other); }