Talvos  0.1
SPIR-V interpreter and dynamic analysis framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
talvos::RenderPass Class Reference

This class represents a Vulkan render pass. More...

#include <talvos/RenderPass.h>

Public Member Functions

 RenderPass (const std::vector< VkAttachmentDescription > &Attachments, std::vector< Subpass > Subpasses)
 Create a render pass from sets of attachment and subpass descriptions. More...
 
const VkAttachmentDescription & getAttachment (uint32_t Index) const
 Returns the attachment at index Index. More...
 
uint32_t getNumAttachments () const
 Returns the number of attachments in this render pass. More...
 
const SubpassgetSubpass (uint32_t Index) const
 Returns the subpass at index Index. More...
 

Private Attributes

std::vector
< VkAttachmentDescription > 
Attachments
 The attachments used by this render pass. More...
 
const std::vector< SubpassSubpasses
 The subpasses contained in this render pass. More...
 

Detailed Description

This class represents a Vulkan render pass.

Definition at line 69 of file RenderPass.h.

Constructor & Destructor Documentation

talvos::RenderPass::RenderPass ( const std::vector< VkAttachmentDescription > &  Attachments,
std::vector< Subpass Subpasses 
)
inline

Create a render pass from sets of attachment and subpass descriptions.

Definition at line 73 of file RenderPass.h.

Member Function Documentation

const VkAttachmentDescription & talvos::RenderPass::getAttachment ( uint32_t  Index) const

Returns the attachment at index Index.

Definition at line 17 of file RenderPass.cpp.

uint32_t talvos::RenderPass::getNumAttachments ( ) const
inline

Returns the number of attachments in this render pass.

Definition at line 81 of file RenderPass.h.

const Subpass & talvos::RenderPass::getSubpass ( uint32_t  Index) const

Returns the subpass at index Index.

Definition at line 23 of file RenderPass.cpp.

Member Data Documentation

std::vector<VkAttachmentDescription> talvos::RenderPass::Attachments
private

The attachments used by this render pass.

Definition at line 88 of file RenderPass.h.

const std::vector<Subpass> talvos::RenderPass::Subpasses
private

The subpasses contained in this render pass.

Definition at line 91 of file RenderPass.h.