mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Feat] (MG_Backend/DirectVulkan): implement backend func for glCopyTex(Sub)Image2D
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user