sandbox
Loading...
Searching...
No Matches
sbx::animations::skinned_mesh_traits Struct Reference

Classes

struct  instance_payload
 
struct  skinning_job
 

Public Types

using mesh_type = animations::mesh
 

Static Public Member Functions

template<typename DrawList >
static auto create_shared_buffers (DrawList &draw_list) -> void
 
template<typename DrawList >
static auto destroy_shared_buffers (DrawList &draw_list) -> void
 
template<typename DrawList >
static auto update_shared_buffers (DrawList &draw_list) -> void
 
template<typename Callable >
static auto for_each_submission (scenes::scene &scene, Callable &&callable) -> void
 
static auto make_instance_data (const scenes::node node, const std::uint32_t transform_index, std::uint32_t material_index, const instance_payload &payload) -> models::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
 
static auto skinning_jobs () -> std::vector< skinning_job > &
 

Static Public Attributes

static const auto bone_matrices_buffer_name = utility::hashed_string{"bone_matrices"}
 

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