Unravel Engine C++ Reference
Loading...
Searching...
No Matches
thumbnail_manager.h File Reference
#include <base/basetypes.hpp>
#include <context/context.hpp>
#include <graphics/shader.h>
#include <graphics/texture.h>
#include <engine/assets/asset_handle.h>
#include <engine/ecs/scene.h>
#include <chrono>

Go to the source code of this file.

Classes

struct  unravel::thumbnail_manager
 
struct  unravel::thumbnail_manager::generated_thumbnail
 
struct  unravel::thumbnail_manager::generator
 

Namespaces

namespace  gfx
 
namespace  unravel
 

Macros

#define DECLARE_THUMBNAIL_SPEC(T)
 

Functions

 unravel::DECLARE_THUMBNAIL_SPEC (gfx::texture)
 
 unravel::DECLARE_THUMBNAIL_SPEC (gfx::shader)
 
 unravel::DECLARE_THUMBNAIL_SPEC (material)
 
 unravel::DECLARE_THUMBNAIL_SPEC (mesh)
 
 unravel::DECLARE_THUMBNAIL_SPEC (animation_clip)
 
 unravel::DECLARE_THUMBNAIL_SPEC (prefab)
 
 unravel::DECLARE_THUMBNAIL_SPEC (scene_prefab)
 
 unravel::DECLARE_THUMBNAIL_SPEC (physics_material)
 
 unravel::DECLARE_THUMBNAIL_SPEC (audio_clip)
 
 unravel::DECLARE_THUMBNAIL_SPEC (font)
 
 unravel::DECLARE_THUMBNAIL_SPEC (script)
 
 unravel::DECLARE_THUMBNAIL_SPEC (ui_tree)
 
 unravel::DECLARE_THUMBNAIL_SPEC (style_sheet)
 

Macro Definition Documentation

◆ DECLARE_THUMBNAIL_SPEC

#define DECLARE_THUMBNAIL_SPEC ( T)
Value:
template<>\
auto thumbnail_manager::get_thumbnail<T>(const asset_handle<T>& asset) -> gfx::texture::ptr;
Thread-safe handle to an asset.

Definition at line 175 of file thumbnail_manager.h.