Added imgui example Android build
This commit is contained in:
parent
ccfc1f1124
commit
c849d18db3
9 changed files with 169 additions and 26 deletions
|
|
@ -88,8 +88,6 @@ protected:
|
|||
/** @brief Logical device, application's view of the physical device (GPU) */
|
||||
// todo: getter? should always point to VulkanDevice->device
|
||||
VkDevice device;
|
||||
/** @brief Encapsulated physical and logical vulkan device */
|
||||
vks::VulkanDevice *vulkanDevice;
|
||||
// Handle to the device graphics queue that command buffers are submitted to
|
||||
VkQueue queue;
|
||||
// Depth buffer format (selected during Vulkan initialization)
|
||||
|
|
@ -125,10 +123,6 @@ protected:
|
|||
// Text overlay submission and execution
|
||||
VkSemaphore textOverlayComplete;
|
||||
} semaphores;
|
||||
// Simple texture loader
|
||||
//vks::tools::VulkanTextureLoader *textureLoader = nullptr;
|
||||
// Returns the base asset path (for shaders, models, textures) depending on the os
|
||||
const std::string getAssetPath();
|
||||
public:
|
||||
bool prepared = false;
|
||||
uint32_t width = 1280;
|
||||
|
|
@ -136,6 +130,11 @@ public:
|
|||
|
||||
/** @brief Last frame time measured using a high performance timer (if available) */
|
||||
float frameTimer = 1.0f;
|
||||
/** @brief Returns os specific base asset path (for shaders, models, textures) */
|
||||
const std::string getAssetPath();
|
||||
|
||||
/** @brief Encapsulated physical and logical vulkan device */
|
||||
vks::VulkanDevice *vulkanDevice;
|
||||
|
||||
/** @brief Example settings that can be changed e.g. by command line arguments */
|
||||
struct Settings {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue