3 Commits

Author SHA1 Message Date
4ad064578d Renamed argument when providing array of vertex binding attributes to reflect that they are, in fact attributes and not the binding description
Extended pipeline to support adding vertex bindings
Vertex bindings can now be added via a template function that assumes that the type implements the following;
 - A function matching the signature of PFN_GetVertexInputBindingDescription and with the name get_binding_description
 - A function matching the signature of PFN_GetVertexAttributeDescriptions and with the name get_attribute_descriptions
GetVertexAttributeDescriptions should set the num_attachments to the number of attachments if and only if the attachment output pointer is nullptr. If the output pointer is not nullptr, num_attachments should be treated as a size. Return VK_SUCCESS on success, or a different value otherwise.
2025-07-10 21:56:14 +10:00
d550307011 Updated PipelineBuilder to now allow adding vertex bindings 2025-07-10 00:46:33 +10:00
b687d74e32 Created pipeline builder and wrapper
basalt::Pipeline is mainly just a wrapper around VkPipeline however there is no cast operator provided (yet)
2025-07-07 22:56:00 +10:00