21 #ifndef HX3D_GRAPHICS_BUFFERS_ATTRIBUTEARRAYBUFFER 22 #define HX3D_GRAPHICS_BUFFERS_ATTRIBUTEARRAYBUFFER 24 #include "hx3d/graphics/buffers/array_buffer.hpp" 25 #include "hx3d/graphics/buffers/attribute.hpp" 74 virtual void upload()
override;
virtual void begin(const Ptr< Shader > &shader) override
Begin the use with a shader.
void create(const Attribute attribute)
Initialize the attribute array buffer.
virtual void end(const Ptr< Shader > &shader) override
End the use with a shader.
Attribute specialized array buffer.
Attribute & getAttribute()
Get the attribute.
virtual void upload() override
Upload the data to the GPU.
Attribute _attribute
Attribute.
AttributeArrayBuffer()
Construct an empty attribute array buffer.
std::shared_ptr< T > Ptr
Quick-typing shared ptr.
OpenGL GPU uploadable buffer.