26struct physics_material;
74 return thumbnails_.file.
get();
77 #define DECLARE_THUMBNAIL_SPEC(T)\
79 auto get_thumbnail<T>(const asset_handle<T>& asset) -> gfx::texture::ptr;
106 struct thumbnail_cache
144 std::map<std::string, asset_handle<gfx::texture>> icons_;
145 std::map<std::string, asset_handle<gfx::texture>> gizmo_icons_;
147 std::shared_ptr<int> sentinel_ = std::make_shared<int>(0);
std::shared_ptr< texture > ptr
Class representing a camera. Contains functionality for manipulating and updating a camera....
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.
Structure representing a reflection probe.
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 &
DECLARE_THUMBNAIL_SPEC(audio_clip)
auto init(rtti::context &ctx) -> bool
DECLARE_THUMBNAIL_SPEC(ui_tree)
auto get_thumbnail(const asset_handle< T > &asset) -> gfx::texture::ptr
auto deinit(rtti::context &ctx) -> bool
DECLARE_THUMBNAIL_SPEC(material)
DECLARE_THUMBNAIL_SPEC(gfx::shader)
DECLARE_THUMBNAIL_SPEC(prefab)
DECLARE_THUMBNAIL_SPEC(gfx::texture)
DECLARE_THUMBNAIL_SPEC(script)
auto get_gizmo_icon(entt::handle e) -> gfx::texture::ptr
DECLARE_THUMBNAIL_SPEC(physics_material)
void on_frame_update(rtti::context &ctx, delta_t)
DECLARE_THUMBNAIL_SPEC(animation_clip)
DECLARE_THUMBNAIL_SPEC(font)
void remove_thumbnail(const hpp::uuid &uid)
void regenerate_thumbnail(const hpp::uuid &uid)
DECLARE_THUMBNAIL_SPEC(scene_prefab)
DECLARE_THUMBNAIL_SPEC(mesh)
DECLARE_THUMBNAIL_SPEC(style_sheet)
Represents a UI visual tree asset (HTML/RML document).