diff options
Diffstat (limited to 'Runtime/Graphics/CustomVertexLayout.h')
-rw-r--r-- | Runtime/Graphics/CustomVertexLayout.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Runtime/Graphics/CustomVertexLayout.h b/Runtime/Graphics/CustomVertexLayout.h new file mode 100644 index 0000000..402e663 --- /dev/null +++ b/Runtime/Graphics/CustomVertexLayout.h @@ -0,0 +1,15 @@ +#pragma once + +#include <vector> +#include "../Utilities/UtilMacros.h" +#include "../Shaders/ShaderChannel.h" +#include "OpenGL.h" +#include "GPUDataBuffer.h" +#include "VertexAttribute.h" + +struct CustomVertexLayout +{ + GLuint buffer; + std::vector<VertexAttributeDescriptor> attributes; +}; + |