21 #ifndef HX3D_GRAPHICS_ORDEREDBATCH 22 #define HX3D_GRAPHICS_ORDEREDBATCH 24 #include "hx3d/graphics/base_batch.hpp" 41 virtual void begin()
override;
42 virtual void end()
override;
43 virtual void draw(
Mesh& mesh)
override;
49 std::vector<std::pair<glm::mat4, Mesh*>> _meshes;
51 std::vector<gui::Text> _texts;
53 std::vector<std::pair<gui::Text, math::Function>> _funcTexts;
virtual void end() override
End the batching.
virtual void draw(Mesh &mesh) override
Draw the mesh.
virtual void begin() override
Begin the batching.
Displayable 2D/3D element.
Math function definition.
Draw ordered meshes and texts on screen.
Draw meshes and texts on screen.