Vulkan-Hpp
vk::su::ImageData Struct Reference

#include <utils.hpp>

Public Member Functions

 ImageData (vk::PhysicalDevice const &physicalDevice, vk::Device const &device, vk::Format format, vk::Extent2D const &extent, vk::ImageTiling tiling, vk::ImageUsageFlags usage, vk::ImageLayout initialLayout, vk::MemoryPropertyFlags memoryProperties, vk::ImageAspectFlags aspectMask)
 
void clear (vk::Device const &device)
 

Public Attributes

vk::Format format
 
vk::Image image
 
vk::DeviceMemory deviceMemory
 
vk::ImageView imageView
 

Detailed Description

Definition at line 169 of file utils.hpp.

Constructor & Destructor Documentation

◆ ImageData()

vk::su::ImageData::ImageData ( vk::PhysicalDevice const &  physicalDevice,
vk::Device const &  device,
vk::Format  format,
vk::Extent2D const &  extent,
vk::ImageTiling  tiling,
vk::ImageUsageFlags  usage,
vk::ImageLayout  initialLayout,
vk::MemoryPropertyFlags  memoryProperties,
vk::ImageAspectFlags  aspectMask 
)

Definition at line 750 of file utils.cpp.

Member Function Documentation

◆ clear()

void vk::su::ImageData::clear ( vk::Device const &  device)
inline

Definition at line 181 of file utils.hpp.

Member Data Documentation

◆ deviceMemory

vk::DeviceMemory vk::su::ImageData::deviceMemory

Definition at line 190 of file utils.hpp.

◆ format

vk::Format vk::su::ImageData::format

Definition at line 188 of file utils.hpp.

◆ image

vk::Image vk::su::ImageData::image

Definition at line 189 of file utils.hpp.

◆ imageView

vk::ImageView vk::su::ImageData::imageView

Definition at line 191 of file utils.hpp.


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