26struct physics_material;
74 return thumbnails_.file.
get();
89 struct thumbnail_cache
128 std::map<std::string, asset_handle<gfx::texture>> icons_;
129 std::map<std::string, asset_handle<gfx::texture>> gizmo_icons_;
131 std::shared_ptr<int> sentinel_ = std::make_shared<int>(0);
135#define DECLARE_THUMBNAIL_SPEC(T) template<>\
136auto thumbnail_manager::get_thumbnail<T>(const asset_handle<T>& asset) -> gfx::texture::ptr;
std::shared_ptr< texture > ptr
Base class for materials used in rendering.
Main class representing a 3D mesh with support for different LODs, submeshes, and skinning.
std::chrono::duration< float > delta_t
Represents a handle to an asset, providing access and management functions.
auto get(bool wait=true) const -> std::shared_ptr< T >
Gets the shared pointer to the asset.
Struct representing an animation.
Struct representing an audio clip.
Represents the physical properties of a material.
Represents a generic prefab with a buffer for serialized data.
Represents a scene-specific prefab. Inherits from the generic prefab structure.
Represents a scene in the ACE framework, managing entities and their relationships.
Represents a UI style sheet asset (CSS/RCSS document).
auto get() -> gfx::texture::ptr
void set(gfx::frame_buffer::ptr fbo)
gfx::frame_buffer::ptr thumbnail
std::map< hpp::uuid, generated_thumbnail > thumbnails
std::array< scene, 3 > scenes
auto get_scene() -> scene &
auto init(rtti::context &ctx) -> bool
auto get_thumbnail(const asset_handle< T > &asset) -> gfx::texture::ptr
auto deinit(rtti::context &ctx) -> bool
auto get_gizmo_icon(entt::handle e) -> gfx::texture::ptr
void on_frame_update(rtti::context &ctx, delta_t)
void remove_thumbnail(const hpp::uuid &uid)
void regenerate_thumbnail(const hpp::uuid &uid)
Represents a UI visual tree asset (HTML/RML document).
#define DECLARE_THUMBNAIL_SPEC(T)