NAP
renderadvancedutils.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4 
5 #pragma once
6 
7 // External Includes
8 #include <vulkan/vulkan_core.h>
9 #include <utility/dllexport.h>
10 #include <nap/numeric.h>
11 #include <utility/errorstate.h>
12 #include <assert.h>
13 
14 // Local Includes
15 #include "imagedata.h"
16 #include "bufferdata.h"
17 #include "surfacedescriptor.h"
18 
19 namespace nap
20 {
21  namespace utility
22  {
26  bool NAPAPI createConsumeRenderPass(VkDevice device, VkFormat colorFormat, VkFormat depthFormat, VkSampleCountFlagBits samples, VkImageLayout targetLayout, VkRenderPass& renderPass, utility::ErrorState& errorState);
27 
31  bool NAPAPI createDepthOnlyRenderPass(VkDevice device, VkFormat depthFormat, VkSampleCountFlagBits samples, VkImageLayout targetLayout, VkRenderPass& renderPass, utility::ErrorState& errorState);
32  }
33 }
nap::utility::createConsumeRenderPass
bool NAPAPI createConsumeRenderPass(VkDevice device, VkFormat colorFormat, VkFormat depthFormat, VkSampleCountFlagBits samples, VkImageLayout targetLayout, VkRenderPass &renderPass, utility::ErrorState &errorState)
nap
Definition: templateapp.h:17
nap::utility::createDepthOnlyRenderPass
bool NAPAPI createDepthOnlyRenderPass(VkDevice device, VkFormat depthFormat, VkSampleCountFlagBits samples, VkImageLayout targetLayout, VkRenderPass &renderPass, utility::ErrorState &errorState)