覆盖input 函数
This commit is contained in:
@@ -1890,6 +1890,11 @@ void TextureLoading::view_changed()
|
|||||||
update_uniform_buffers();
|
update_uniform_buffers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void TextureLoading::input_event(const vkb::InputEvent& input_event)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void TextureLoading::on_update_ui_overlay(vkb::Drawer& drawer)
|
void TextureLoading::on_update_ui_overlay(vkb::Drawer& drawer)
|
||||||
{
|
{
|
||||||
if (drawer.header("Settings"))
|
if (drawer.header("Settings"))
|
||||||
|
|||||||
@@ -220,6 +220,7 @@ public:
|
|||||||
//void updateTexture();
|
//void updateTexture();
|
||||||
float myFloatValue = 1.5f;
|
float myFloatValue = 1.5f;
|
||||||
void demo1(float* pos);
|
void demo1(float* pos);
|
||||||
|
virtual void input_event(const vkb::InputEvent& input_event) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
std::unique_ptr<vkb::Application> create_texture_loading();
|
std::unique_ptr<vkb::Application> create_texture_loading();
|
||||||
|
|||||||
Reference in New Issue
Block a user