14#include <lagrange/ui/types/VertexBuffer.h>
26 std::fill_n(attribute_dimensions.begin(), max_attributes, 0);
27 std::fill_n(attribute_buffers.begin(), max_attributes,
nullptr);
28 index_buffer =
nullptr;
32 constexpr static int max_attributes =
34 std::shared_ptr<VAO> vao;
35 std::array<int, max_attributes> attribute_dimensions;
36 std::array<std::shared_ptr<GPUBuffer>, max_attributes> attribute_buffers;
37 std::shared_ptr<GPUBuffer> index_buffer;
Lagrange UI Viewer and mini 3D engine.
Definition: AcceleratedPicking.h:22
Main namespace for Lagrange.
Definition: AABBIGL.h:30
Definition: VertexData.h:23