GPUOpen-Archive / Anvil

Anvil is a cross-platform framework for Vulkan
MIT License
594 stars 62 forks source link

GraphicsPipelineInfo::get_n_vertex_attribute_properties #58

Closed Silverlan closed 6 years ago

Silverlan commented 6 years ago

You can retrieve vertex attribute properties using GraphicsPipelineInfo::get_vertex_attribute_properties, but you need to provide an index, and there's no way to retrieve the number of available vertex attributes right now.

Silverlan commented 6 years ago

Nevermind, I just realized you can use _Anvil::GraphicsPipelineInfo::get_graphics_pipelineproperties to retrieve the number of vertex attribute properties.