12#ifndef GAMP_GLARRAYHANDLERFLAT_HPP_
13#define GAMP_GLARRAYHANDLERFLAT_HPP_
18 using namespace gamp::render::gl;
19 using namespace gamp::render::gl::data;
Handles consistency of interleaved array state.
virtual ~GLSubArrayHandler() noexcept=default
virtual const GLArrayDataRef & data()=0
virtual void syncData(const GL &gl, ShaderState *st)=0
Implementation shall associate the data with the array.
virtual void enableState(const GL &gl, bool enable, ShaderState *st)=0
Implementation shall enable or disable the array state.
ShaderState allows to sharing data between shader programs, while updating the attribute and uniform ...
std::shared_ptr< GLArrayData > GLArrayDataRef