sandbox
Loading...
Searching...
No Matches
sbx::models::static_mesh_traits Struct Reference

Classes

struct  instance_payload
 

Public Types

using mesh_type = models::mesh
 

Static Public Member Functions

template<typename DarwList >
static auto create_shared_buffers (DarwList &draw_list) -> void
 
template<typename DarwList >
static auto destroy_shared_buffers (DarwList &draw_list) -> void
 
template<typename DarwList >
static auto update_shared_buffers (DarwList &draw_list) -> void
 
template<typename Callable >
static void for_each_submission (scenes::scene &scene, Callable &&callable)
 
static auto make_instance_data (const scenes::node node, const std::uint32_t transform_index, std::uint32_t material_index, const instance_payload &payload) -> instance_data
 
template<typename Mesh , typename Emitter >
static auto build_draw_commands (const Mesh &mesh, std::uint32_t submesh_index, std::vector< models::instance_data > &&instances, Emitter &&emitter) -> std::uint32_t
 

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