|
Unravel Engine C++ Reference
|
#include <batch_collector.h>
Public Types | |
| using | batch_map_t = std::unordered_map<Key, batch_group_t<Key>> |
| using | batch_list_t = std::vector<batch_group_t<Key>*> |
Public Member Functions | |
| batch_collector_t () | |
| ~batch_collector_t ()=default | |
| batch_collector_t (const batch_collector_t &)=delete | |
| auto | operator= (const batch_collector_t &) -> batch_collector_t &=delete |
| batch_collector_t (batch_collector_t &&) noexcept=default | |
| auto | operator= (batch_collector_t &&) noexcept -> batch_collector_t &=default |
| void | collect_renderable (const Key &key, const batch_instance &instance) |
| void | collect_renderable (const Key &key, const math::mat4 &world_transform) |
| void | prepare_batches (const submit_context &context) |
| auto | get_prepared_batches () const -> const batch_list_t & |
| void | clear () |
| auto | get_stats () const -> const batch_stats & |
| auto | get_batch_count () const -> size_t |
| auto | get_instance_count () const -> size_t |
| auto | has_batches () const -> bool |
| void | set_max_instances_per_batch (uint32_t max_instances) |
| void | set_profiling_enabled (bool enabled) |
Static Public Member Functions | |
| static auto | is_static_mesh_batching_enabled () -> bool |
| static void | set_static_mesh_batching_enabled (bool enabled) |
Definition at line 69 of file batch_collector.h.
| using unravel::batch_collector_t< Key >::batch_list_t = std::vector<batch_group_t<Key>*> |
Definition at line 73 of file batch_collector.h.
| using unravel::batch_collector_t< Key >::batch_map_t = std::unordered_map<Key, batch_group_t<Key>> |
Definition at line 72 of file batch_collector.h.
|
default |
|
default |
|
delete |
|
defaultnoexcept |
| void unravel::batch_collector_t< Key >::clear | ( | ) |
Definition at line 130 of file batch_collector.hpp.
| void unravel::batch_collector_t< Key >::collect_renderable | ( | const Key & | key, |
| const batch_instance & | instance ) |
Definition at line 61 of file batch_collector.hpp.
| void unravel::batch_collector_t< Key >::collect_renderable | ( | const Key & | key, |
| const math::mat4 & | world_transform ) |
Definition at line 80 of file batch_collector.hpp.
| auto unravel::batch_collector_t< Key >::get_batch_count | ( | ) | const -> size_t |
Definition at line 144 of file batch_collector.hpp.
| auto unravel::batch_collector_t< Key >::get_instance_count | ( | ) | const -> size_t |
Definition at line 150 of file batch_collector.hpp.
| auto unravel::batch_collector_t< Key >::get_prepared_batches | ( | ) | const -> const batch_list_t& |
Definition at line 124 of file batch_collector.hpp.
| auto unravel::batch_collector_t< Key >::get_stats | ( | ) | const -> const batch_stats& |
Definition at line 138 of file batch_collector.hpp.
| auto unravel::batch_collector_t< Key >::has_batches | ( | ) | const -> bool |
Definition at line 161 of file batch_collector.hpp.
|
inlinestatic |
Definition at line 77 of file batch_collector.h.
|
defaultnoexcept |
|
delete |
| void unravel::batch_collector_t< Key >::prepare_batches | ( | const submit_context & | context | ) |
Definition at line 86 of file batch_collector.hpp.
| void unravel::batch_collector_t< Key >::set_max_instances_per_batch | ( | uint32_t | max_instances | ) |
Definition at line 167 of file batch_collector.hpp.
| void unravel::batch_collector_t< Key >::set_profiling_enabled | ( | bool | enabled | ) |
Definition at line 173 of file batch_collector.hpp.
|
inlinestatic |
Definition at line 82 of file batch_collector.h.