21 #ifndef HX3D_GRAPHICS_BUFFERS_ARRAYBUFFER 22 #define HX3D_GRAPHICS_BUFFERS_ARRAYBUFFER 24 #include "hx3d/graphics/buffers/buffer.hpp" 26 #include "hx3d/utils/ptr.hpp" 69 #include "hx3d/graphics/buffers/_inline/array_buffer.inl.hpp"
virtual void end(const Ptr< Shader > &shader)=0
End the use with a shader.
virtual void begin(const Ptr< Shader > &shader)=0
Begin the use with a shader.
virtual void upload()=0
Upload the data to the GPU.
std::shared_ptr< T > Ptr
Quick-typing shared ptr.
OpenGL GPU uploadable buffer.