gdk-graphics  1b6d84e044c2c953fd7c9501e628a67e80f4da0d
Public Types | Public Member Functions | Protected Attributes | List of all members
gdk::render_set Class Reference

set of objects to render More...

#include <webgl1es2_scene.h>

Inheritance diagram for gdk::render_set:
gdk::sorted_render_set

Public Types

using entity_ptr_type = std::shared_ptr< const entity >
 
using material_ptr_type = std::shared_ptr< webgl1es2_material >
 
using model_ptr_type = std::shared_ptr< webgl1es2_model >
 
using model_to_entity_collection = std::unordered_map< model_ptr_type, std::unordered_set< entity_ptr_type > >
 
using material_to_model_to_entity_collection_collection = std::unordered_map< material_ptr_type, model_to_entity_collection >
 

Public Member Functions

virtual void draw (const webgl1es2_camera *r) const
 
virtual void try_add (entity_ptr_type)
 

Protected Attributes

material_to_model_to_entity_collection_collection m_MaterialToModelToEntityCollection
 
std::unordered_set< entity_ptr_type > m_unique_entities
 

Detailed Description

set of objects to render


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