diff options
Diffstat (limited to 'src/window.hpp')
| -rw-r--r-- | src/window.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/window.hpp b/src/window.hpp index 91a3a30..0ab3910 100644 --- a/src/window.hpp +++ b/src/window.hpp @@ -54,6 +54,20 @@ struct UniformBufferObject { extern UniformBufferObject UBO; extern VkBuffer UniformBuffers[MAX_FRAMES_IN_FLIGHT]; +struct ImplementedPipelines { + VkDescriptorSetLayout vkDescriptorSetLayout_Texture = VK_NULL_HANDLE; + VkPipelineLayout vkPipelineLayout_Texture = VK_NULL_HANDLE; + VkSampler vkSampler_Texture = VK_NULL_HANDLE; + union { + VkPipeline arr[2] = { VK_NULL_HANDLE, VK_NULL_HANDLE }; + struct { + VkPipeline Texture; + VkPipeline TextureWireframe; + }; + } pipelines; +}; +extern ImplementedPipelines pkePipelines; + void CreateWindow(PKEWindowProperties *wp); void DestroyWindow(); VkShaderModule UploadShader(AssetHandle handle); |
