SimpleGL  1.1.0
A framework for platform independent rendering
Public Attributes | List of all members
sgl::SwapchainData Struct Reference

This struct stores relevant swapchain data. More...

#include <swapchain.hpp>

Public Attributes

std::vector< VkImage > images
 The available swapchain images. More...
 
std::vector< VkImageView > imageViews
 The image views for the swapchain images. More...
 
VkFormat imageFormat
 The swapchain image format. More...
 
VkExtent2D extent
 The swapchain extent. More...
 
uint32_t index
 The current swapchain image index. More...
 

Detailed Description

This struct stores relevant swapchain data.

Definition at line 28 of file swapchain.hpp.

Member Data Documentation

VkExtent2D sgl::SwapchainData::extent

The swapchain extent.

Definition at line 40 of file swapchain.hpp.

VkFormat sgl::SwapchainData::imageFormat

The swapchain image format.

Definition at line 37 of file swapchain.hpp.

std::vector<VkImage> sgl::SwapchainData::images

The available swapchain images.

Definition at line 31 of file swapchain.hpp.

std::vector<VkImageView> sgl::SwapchainData::imageViews

The image views for the swapchain images.

Definition at line 34 of file swapchain.hpp.

uint32_t sgl::SwapchainData::index

The current swapchain image index.

Definition at line 43 of file swapchain.hpp.


The documentation for this struct was generated from the following file: