diff options
author | chai <chaifix@163.com> | 2021-10-28 00:47:35 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-28 00:47:35 +0800 |
commit | 1b6f71b2777bdc74d63f988346a8cfee766718b0 (patch) | |
tree | ae710ba057f4841e7d0911eb4d3e0c346f79a524 /Runtime/Graphics/CustomVertexLayout.h | |
parent | 305ca0a09d4e750186b5190432de47f3493e806a (diff) |
+DefaultVertexLayout
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; +}; + |