3#ifndef GDK_GRAPHICS_MODEL_H
4#define GDK_GRAPHICS_MODEL_H
6#include <gdk/graphics/model_data.h>
8namespace gdk::graphics {
21 virtual ~model() =
default;
vertex data stored in system memory.
Definition model_data.h:25
virtual void upload(const usage_hint &, const model_data &vertexDataView)=0
replace vertex data held by this model
usage_hint
Definition model.h:12
@ streaming
data will be rewritten extremely frequently
Definition model.h:14
@ dynamic
data will be rewritten
Definition model.h:13
@ upload_once
data will only be written once
Definition model.h:15