Unravel Engine C++ Reference
|
#include <inspector_assets.h>
Public Member Functions | |
void | draw_image (const asset_handle< gfx::texture > &data, ImVec2 size) |
auto | inspect_as_property (rtti::context &ctx, asset_handle< gfx::texture > &data) -> inspect_result |
auto | inspect (rtti::context &ctx, entt::meta_any &var, const meta_any_proxy &var_proxy, const var_info &info, const entt::meta_custom &custom) -> inspect_result override |
![]() | |
virtual auto | get_meta_type () const -> entt::meta_type |
auto | is () const -> bool |
auto | is (const entt::meta_type &type) const -> bool |
virtual auto | as_derived () -> entt::meta_any |
Public Attributes | |
asset_handle< gfx::texture > | inspected_asset_ |
std::shared_ptr< texture_importer_meta > | importer_ |
int | inspected_mip_ {} |
uintptr_t | inspected_version_ {} |
Additional Inherited Members | |
![]() | |
static auto | get_static_meta_type () -> entt::meta_type |
Definition at line 32 of file inspector_assets.h.
void unravel::inspector_asset_handle_texture::draw_image | ( | const asset_handle< gfx::texture > & | data, |
ImVec2 | size ) |
Definition at line 400 of file inspector_assets.cpp.
|
override |
Definition at line 435 of file inspector_assets.cpp.
auto unravel::inspector_asset_handle_texture::inspect_as_property | ( | rtti::context & | ctx, |
asset_handle< gfx::texture > & | data ) -> inspect_result |
Definition at line 422 of file inspector_assets.cpp.
std::shared_ptr<texture_importer_meta> unravel::inspector_asset_handle_texture::importer_ |
Definition at line 39 of file inspector_assets.h.
asset_handle<gfx::texture> unravel::inspector_asset_handle_texture::inspected_asset_ |
Definition at line 38 of file inspector_assets.h.
int unravel::inspector_asset_handle_texture::inspected_mip_ {} |
Definition at line 40 of file inspector_assets.h.
uintptr_t unravel::inspector_asset_handle_texture::inspected_version_ {} |
Definition at line 41 of file inspector_assets.h.