30 void init_vao(
double resolution,
int width,
int height);
36 std::unique_ptr<Texture> texture;
Definition drawable.hpp:12
Definition glsl_shader.hpp:20
Definition gridmap.hpp:11
void update_color(int width, int height, const unsigned char *values, int alpha=255, ColorMode mode=ColorMode::PROB)
void update_color(int width, int height, float scale, const float *values, float alpha=1.0f, ColorMode mode=ColorMode::PROB)
virtual void draw(glk::GLSLShader &shader) const override
ColorMode
Definition gridmap.hpp:13
GridMap(double resolution, int width, int height, const unsigned char *values, int alpha=255, ColorMode mode=ColorMode::PROB)
void update_color(float scale, const float *values, float alpha=1.0f, ColorMode mode=ColorMode::PROB)
void update_color(const unsigned char *values, int alpha=255, ColorMode mode=ColorMode::PROB)
GridMap(double resolution, int width, int height, float scale, const float *values, float alpha=1.0f, ColorMode mode=ColorMode::PROB)
Definition async_buffer_copy.hpp:6
std::enable_if_t< needs_aligned_allocator< T >::value, std::shared_ptr< T > > make_shared(Args &&... args)
Definition make_shared.hpp:20