[Feat] (MG_Backend/DirectGLES): Implement basic stuff for DirectGLES backend.

This commit is contained in:
BZLZHH
2025-10-19 11:47:44 +08:00
parent ef2221659a
commit 93a0bbaed8
19 changed files with 1574 additions and 24 deletions
@@ -211,6 +211,7 @@ namespace MobileGL {
virtual MipmapLevelInternal& GetMipmap(Int index) = 0;
virtual void SetInternalFormat(TextureInternalFormat format) = 0;
virtual Bool IsComplete() const = 0;
virtual void UnmarkMipmapDirty(Int index) = 0;
};
class TextureObjectBase : public ITextureObject {
@@ -227,6 +228,7 @@ namespace MobileGL {
MipmapLevelInternal& GetMipmap(Int index) override;
void SetInternalFormat(TextureInternalFormat format) override;
Bool IsComplete() const override;
void UnmarkMipmapDirty(Int index) override;
protected:
virtual void SetMipmapImpl(const MipmapLevelInput& level) = 0;