std140 implementation
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include <cinttypes>
|
||||
#include <array>
|
||||
|
||||
namespace zgl
|
||||
{
|
||||
|
||||
template<std::size_t Count>
|
||||
struct uniform_buffer_alignment_metadata
|
||||
{
|
||||
std::array<std::size_t, Count> byte_offsets{};
|
||||
std::size_t byte_size{};
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user