[Feat] (MG_Backend/DirectVulkan): vertex input state factory

This commit is contained in:
2026-02-17 10:24:01 +08:00
parent 206d8ab36a
commit 324498ccac
8 changed files with 250 additions and 0 deletions
@@ -20,6 +20,8 @@ namespace MobileGL::MG_Backend::DirectVulkan {
VertexInputStateBuilder& AddAttribute(Uint32 location, Uint32 binding, VkFormat format, Uint32 offset);
const VkPipelineVertexInputStateCreateInfo& Build();
const Vector<VkVertexInputBindingDescription>& GetBindings() const;
const Vector<VkVertexInputAttributeDescription>& GetAttributes() const;
private:
VkPipelineVertexInputStateCreateInfo m_state{};