[Feat] (MG_Backend/DirectVulkan): integrating cullmode and frontface render state into vk pipeline

This commit is contained in:
2026-03-03 17:01:02 +08:00
parent 9211341ae7
commit 592a69b1c4
5 changed files with 29 additions and 2 deletions
@@ -24,6 +24,8 @@ namespace MobileGL::MG_Backend::DirectVulkan {
VkRenderPass renderPass = VK_NULL_HANDLE;
Uint32 subpass = 0;
VkPrimitiveTopology topology = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;
VkCullModeFlags cullMode = VK_CULL_MODE_NONE;
VkFrontFace frontFace = VK_FRONT_FACE_CLOCKWISE;
Bool depthTestEnable = false;
Bool depthWriteEnable = false;
VkCompareOp depthCompareOp = VK_COMPARE_OP_ALWAYS;