22 uint32_t stride =
static_cast<uint32_t
>(layout.getStride());
26 vk::VertexInputBindingDescription(
33 for (
size_t i = 0; i < layout.getElementCount(); i++) {
45 uint32_t offset =
static_cast<uint32_t
>(layout.getElementOffset(i));
48 vk::VertexInputAttributeDescription(
49 static_cast<uint32_t
>(location),
59 vk::PipelineVertexInputStateCreateFlags(),
constexpr Format getFormat() const noexcept
constexpr const char * getSemantic() const noexcept
constexpr vk::VertexInputRate ToVkVertexInputRate(InputRate rate)
vk::Format ToVkFormat(Format format)