19 virtual void addModel(
const UUID&
object);
21 virtual void addScene(
const UUID& scene);
22 virtual void addMaterial(
const UUID& material);
23 virtual void addGeometry(
const UUID& geo);
25 virtual void removeModel(
const UUID& model);
26 virtual void removeMaterial(
const UUID& material);
27 virtual void removeGeometry(
const UUID& geo);
28 virtual void removeCamera(
const UUID& camera);
33 virtual void postClearAll();
38 bool m_needs_model_refresh =
true;
39 bool m_needs_command_refresh =
false;
40 bool m_needs_clear_all =
false;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition Dictionary.h:48
Definition Pointer.hpp:303
Definition GraphicsPipeline.h:45
Definition GraphicsSession.h:16
Dictionary< UUID, uint04 > m_added_models
Definition GraphicsSession.h:36
Buffer< UUID > m_added_cameras
Definition GraphicsSession.h:37
virtual void addRenderObject(const Scene &scene, const Model &model, const Material &mat, const Geometry &mesh, PrimitiveProperty property)=0
virtual void readShader(const String &shader)=0
virtual DynamicPointer< GraphicsPipeline > createRenderPipeline()=0
virtual ~GraphicsSession()
Definition GraphicsSession.h:18
Definition GraphicsUpdateArguments.h:40
void addCamera(const DynamicPointer< Camera > &camera, kmldom::DocumentPtr doc)
Definition KMLFactory.cpp:498
PrimitiveProperty
Definition DesignObjectBase.h:44