From 55b9c00292ec4be09b3c2d1386096a2463533a52 Mon Sep 17 00:00:00 2001 From: Xiang Silian Date: Mon, 29 Sep 2025 18:02:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A6=86=E7=9B=96input=20=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- samples/api/texture_loading/texture_loading.cpp | 5 +++++ samples/api/texture_loading/texture_loading.h | 1 + 2 files changed, 6 insertions(+) diff --git a/samples/api/texture_loading/texture_loading.cpp b/samples/api/texture_loading/texture_loading.cpp index 15c0b58..d2dcac1 100644 --- a/samples/api/texture_loading/texture_loading.cpp +++ b/samples/api/texture_loading/texture_loading.cpp @@ -1890,6 +1890,11 @@ void TextureLoading::view_changed() update_uniform_buffers(); } +void TextureLoading::input_event(const vkb::InputEvent& input_event) +{ + +} + void TextureLoading::on_update_ui_overlay(vkb::Drawer& drawer) { if (drawer.header("Settings")) diff --git a/samples/api/texture_loading/texture_loading.h b/samples/api/texture_loading/texture_loading.h index 27f499c..ba94a95 100644 --- a/samples/api/texture_loading/texture_loading.h +++ b/samples/api/texture_loading/texture_loading.h @@ -220,6 +220,7 @@ public: //void updateTexture(); float myFloatValue = 1.5f; void demo1(float* pos); + virtual void input_event(const vkb::InputEvent& input_event) override; }; std::unique_ptr create_texture_loading();