Files
Towards/external/loft/modules/base/include/shaders/VertexAttribute.h
T

16 lines
281 B
C++
Raw Normal View History

2026-07-18 14:31:15 +02:00
#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;
}
};