[Feat] (MG_Backend/DirectVulkan): implement backend func for glCopyTex(Sub)Image2D

This commit is contained in:
2026-05-05 12:02:33 +08:00
parent bc2f2d896b
commit 99b753be9a
6 changed files with 504 additions and 51 deletions
@@ -23,12 +23,10 @@ namespace MobileGL::MG_Backend::DirectVulkan {
};
struct ClearAttachmentPayload {
union {
FloatVec4 color;
Float depth{};
Uint32 stencil;
};
FramebufferAttachmentType attachmentType = FramebufferAttachmentType::Color0;
GLbitfield mask = 0;
FloatVec4 color = FloatVec4(0.0f, 0.0f, 0.0f, 0.0f);
Float depth = 1.0f;
Uint32 stencil = 0;
};
class VkClearManager {