From 1b6f71b2777bdc74d63f988346a8cfee766718b0 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 28 Oct 2021 00:47:35 +0800 Subject: +DefaultVertexLayout --- Runtime/Graphics/CustomVertexLayout.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Runtime/Graphics/CustomVertexLayout.h (limited to 'Runtime/Graphics/CustomVertexLayout.h') 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 +#include "../Utilities/UtilMacros.h" +#include "../Shaders/ShaderChannel.h" +#include "OpenGL.h" +#include "GPUDataBuffer.h" +#include "VertexAttribute.h" + +struct CustomVertexLayout +{ + GLuint buffer; + std::vector attributes; +}; + -- cgit v1.1-26-g67d0