This interface defines the behave on specific component tick every frame.
- Parameters
-
The first frame, we will not get register pointer.
Might not needed?
The first frame, we will not get register pointer.
Might not needed?
Implements Spices::NativeScript.
Definition at line 16 of file ViewPortResizeQuerier.cpp.
17 {
19
24
26
28 {
33
34 SlateResizeEvent event(
static_cast<uint32_t
>(
m_ViewPort.lock()->GetPanelSize().x),
static_cast<uint32_t
>(
m_ViewPort.lock()->GetPanelSize().y));
35
37 }
38 }
#define SPICES_PROFILE_ZONE
#define VK_CHECK(expr)
Vulkan Check macro. Verify Vulkan API Effectiveness.
static EventCallbackFn GetEventCallbackFn()
Get Global Root Event Function Pointer.
static std::shared_ptr< SlateRegister > GetRegister()
Get slate register.
std::weak_ptr< ImguiViewport > m_ViewPort
viewport pointer.
static VulkanState & GetState()
Get VulkanState in use.
References Spices::Event::GetEventCallbackFn(), and Spices::VulkanRenderBackend::GetState().