From 5b46d14997c2ff2244f303216e4e286665ac8a42 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 3 Nov 2025 19:49:41 +0800 Subject: Merge platform/Resource.h to Base.h. --- include/cru/platform/graphics/Base.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/cru/platform/graphics/Base.h') diff --git a/include/cru/platform/graphics/Base.h b/include/cru/platform/graphics/Base.h index c3381394..7f12dbef 100644 --- a/include/cru/platform/graphics/Base.h +++ b/include/cru/platform/graphics/Base.h @@ -32,4 +32,8 @@ struct TextHitTestResult { bool trailing; bool inside_text; }; + +struct CRU_PLATFORM_GRAPHICS_API IGraphicsResource : virtual IPlatformResource { + virtual IGraphicsFactory* GetGraphicsFactory() = 0; +}; } // namespace cru::platform::graphics -- cgit v1.2.3