Files
Towards/external/loft/modules/base/include/shaders/VertexAttribute.h
T
Martin Slachta a04f0dc262 initial
2026-07-18 14:31:15 +02:00

16 lines
281 B
C++

#pragma once
#include <cstdint>
#include <volk.h>
struct VertexAttribute {
uint32_t location;
uint32_t binding;
VkFormat format;
uint32_t offset;
VkVertexInputAttributeDescription get_vk() {
return *(VkVertexInputAttributeDescription*)this;
}
};