Code cleanup
This commit is contained in:
parent
eff719099a
commit
9ccb7cbd54
5 changed files with 88 additions and 118 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Vulkan Example - glTF skinned animation
|
||||
*
|
||||
* Copyright (C) 2020 by Sascha Willems - www.saschawillems.de
|
||||
* Copyright (C) 2020-2023 by Sascha Willems - www.saschawillems.de
|
||||
*
|
||||
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||
*/
|
||||
|
|
@ -205,17 +205,17 @@ class VulkanExample : public VulkanExampleBase
|
|||
VkPipelineLayout pipelineLayout;
|
||||
struct Pipelines
|
||||
{
|
||||
VkPipeline solid;
|
||||
VkPipeline wireframe = VK_NULL_HANDLE;
|
||||
VkPipeline solid{ VK_NULL_HANDLE };
|
||||
VkPipeline wireframe{ VK_NULL_HANDLE };
|
||||
} pipelines;
|
||||
|
||||
struct DescriptorSetLayouts
|
||||
{
|
||||
VkDescriptorSetLayout matrices;
|
||||
VkDescriptorSetLayout textures;
|
||||
VkDescriptorSetLayout jointMatrices;
|
||||
VkDescriptorSetLayout matrices{ VK_NULL_HANDLE };
|
||||
VkDescriptorSetLayout textures{ VK_NULL_HANDLE };
|
||||
VkDescriptorSetLayout jointMatrices{ VK_NULL_HANDLE };
|
||||
} descriptorSetLayouts;
|
||||
VkDescriptorSet descriptorSet;
|
||||
VkDescriptorSet descriptorSet{ VK_NULL_HANDLE };
|
||||
|
||||
VulkanglTFModel glTFModel;
|
||||
|
||||
|
|
@ -231,6 +231,5 @@ class VulkanExample : public VulkanExampleBase
|
|||
void updateUniformBuffers();
|
||||
void prepare();
|
||||
virtual void render();
|
||||
virtual void viewChanged();
|
||||
virtual void OnUpdateUIOverlay(vks::UIOverlay *overlay);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue