|
Unravel Engine C++ Reference
|
#include <batch_collector.h>
Public Member Functions | |
| batch_group_t ()=default | |
| batch_group_t (const Key &key) | |
| void | add_instance (const batch_instance &instance) |
| void | calculate_camera_distance (const math::vec3 &camera_pos) |
| auto | is_valid () const -> bool |
| auto | get_gpu_memory_size () const -> size_t |
Public Attributes | |
| Key | key |
| batch_instance_collection | instances |
| float | camera_distance = 0.0f |
| bool | is_split_batch = false |
Definition at line 41 of file batch_collector.h.
|
default |
|
explicit |
Definition at line 10 of file batch_collector.hpp.
| void unravel::batch_group_t< Key >::add_instance | ( | const batch_instance & | instance | ) |
Definition at line 16 of file batch_collector.hpp.
| void unravel::batch_group_t< Key >::calculate_camera_distance | ( | const math::vec3 & | camera_pos | ) |
Definition at line 22 of file batch_collector.hpp.
| auto unravel::batch_group_t< Key >::get_gpu_memory_size | ( | ) | const -> size_t |
Definition at line 52 of file batch_collector.hpp.
| auto unravel::batch_group_t< Key >::is_valid | ( | ) | const -> bool |
Definition at line 46 of file batch_collector.hpp.
| float unravel::batch_group_t< Key >::camera_distance = 0.0f |
Definition at line 45 of file batch_collector.h.
| batch_instance_collection unravel::batch_group_t< Key >::instances |
Definition at line 44 of file batch_collector.h.
| bool unravel::batch_group_t< Key >::is_split_batch = false |
Definition at line 46 of file batch_collector.h.
| Key unravel::batch_group_t< Key >::key |
Definition at line 43 of file batch_collector.h.