27#ifndef EASY3D_RENDERER_BUFFER_H
28#define EASY3D_RENDERER_BUFFER_H
31#include <easy3d/renderer/state.h>
45 class TrianglesDrawable;
60 void update(Model* model, Drawable* drawable);
73 void update(PointCloud* model, PointsDrawable* drawable);
82 void update(PointCloud *model, LinesDrawable *drawable,
const std::string& field,
float scale);
96 void update(SurfaceMesh* model, PointsDrawable* drawable);
104 void update(SurfaceMesh* model, LinesDrawable* drawable);
112 void update(SurfaceMesh* model, TrianglesDrawable* drawable);
122 void update(SurfaceMesh *model, LinesDrawable *drawable,
const std::string& field,
State::Location location,
float scale);
136 void update(Graph* model, PointsDrawable* drawable);
145 void update(Graph* model, LinesDrawable* drawable);
160 void update(PolyMesh* model, PointsDrawable* drawable);
168 void update(PolyMesh* model, LinesDrawable* drawable);
178 void update(PolyMesh* model, TrianglesDrawable* drawable,
bool border);
189 void update(PolyMesh *model, LinesDrawable *drawable,
const std::string& field,
State::Location location,
float scale);
Location
Definition: state.h:72
void update(PointCloud *model, PointsDrawable *drawable)
Update render buffers for the default "vertices" drawable of a point cloud. Coloring determined by th...
Definition: buffer.cpp:1990
Definition: collider.cpp:182