Move entry point macros to separate header (#1120)
* Move entry point macros to separate header * Minor code cleanup * Updated macos CI
This commit is contained in:
parent
4d2117d3d9
commit
c598b1e7ab
5 changed files with 212 additions and 176 deletions
|
|
@ -6,7 +6,7 @@
|
|||
* With conditional rendering it's possible to execute certain rendering commands based on a buffer value instead of having to rebuild the command buffers.
|
||||
* This example sets up a conditional buffer with one value per glTF part, that is used to toggle visibility of single model parts.
|
||||
*
|
||||
* Copyright (C) 2018-2023 by Sascha Willems - www.saschawillems.de
|
||||
* Copyright (C) 2018-2024 by Sascha Willems - www.saschawillems.de
|
||||
*
|
||||
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||
*/
|
||||
|
|
@ -14,12 +14,11 @@
|
|||
#include "vulkanexamplebase.h"
|
||||
#include "VulkanglTFModel.h"
|
||||
|
||||
|
||||
class VulkanExample : public VulkanExampleBase
|
||||
{
|
||||
public:
|
||||
PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT;
|
||||
PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT;
|
||||
PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT{ VK_NULL_HANDLE };
|
||||
PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT{ VK_NULL_HANDLE };
|
||||
|
||||
vkglTF::Model scene;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue