VulkanEngine 0.1
Graphics engine using Vulkan
Loading...
Searching...
No Matches
VulkanEngine::RenderPass Class Reference

Public Types

using DepthStencilImageAttachment = Image< vk::Format::eD32SfloatS8Uint, vk::ImageType::e2D, vk::ImageTiling::eOptimal, vk::SampleCountFlagBits::e4 >
 
using ColorAttachment = Image< vk::Format::eB8G8R8A8Unorm, vk::ImageType::e2D, vk::ImageTiling::eOptimal, vk::SampleCountFlagBits::e4 >
 

Public Member Functions

 RenderPass (uint32_t _width, uint32_t _height)
 
const vk::RenderPass & getVkRenderPass () const
 
const std::shared_ptr< DepthStencilImageAttachmentgetDepthStencilAttachment () const
 
const std::shared_ptr< ColorAttachmentgetColorAttachment () const
 
void begin ()
 Begin the RenderPass.
 
void end ()
 End the RenderPass.
 

The documentation for this class was generated from the following files: