gdk-graphics  1b6d84e044c2c953fd7c9501e628a67e80f4da0d
Public Member Functions | List of all members
gdk::scene Class Referenceabstract

a 3d environment within which cameras draw entities More...

#include <scene.h>

Inheritance diagram for gdk::scene:
gdk::webgl1es2_scene

Public Member Functions

void add (const entity_owner &rOwner)
 add all an owner's entities to the scene
 
void remove (const entity_owner &rOwner)
 remove all an owner's entities from the scene
 
virtual void add (const std::shared_ptr< const screen_camera > &pCamera)=0
 add a screen camera to the scene
 
virtual void remove (const std::shared_ptr< const screen_camera > &pCamera)=0
 remove a screen camera from the scene
 
virtual void add (const std::shared_ptr< const texture_camera > &pCamera)=0
 add a texture camera to the scene
 
virtual void remove (const std::shared_ptr< const texture_camera > &pCamera)=0
 remove a texture camera from the scene
 
virtual void add (const std::shared_ptr< const entity > &pEntity)=0
 add an entity to the scene
 
virtual void remove (const std::shared_ptr< const entity > &pEntity)=0
 remove an entity to the scene
 
virtual void draw (const gdk::graphics_intvector2_type &aFrameBufferSize) const =0
 draws the scene
 

Detailed Description

a 3d environment within which cameras draw entities


The documentation for this class was generated from the following file: