VOX
A little voxel engine
Loading...
Searching...
No Matches
Image::CreateInfo Struct Reference

#include <Image.hpp>

Collaboration diagram for Image::CreateInfo:
Collaboration graph

Public Attributes

VkExtent2D extent
 
VkImageAspectFlags aspect_mask = VK_IMAGE_ASPECT_COLOR_BIT
 
uint32_t mip_levels = 1
 
uint32_t array_layers = 1
 
VkFormat format
 
VkImageTiling tiling = VK_IMAGE_TILING_OPTIMAL
 
VkImageUsageFlags usage
 
VkMemoryPropertyFlags memory_properties
 
std::vector< std::string > file_paths = {}
 
VkImageLayout final_layout
 
bool create_view = false
 
bool create_sampler = false
 
VkFilter sampler_filter = VK_FILTER_LINEAR
 
VkSamplerAddressMode sampler_address_mode = VK_SAMPLER_ADDRESS_MODE_REPEAT
 
VkBool32 sampler_anisotropy_enable = VK_TRUE
 
bool is_cube_map = false
 

Member Data Documentation

◆ array_layers

uint32_t Image::CreateInfo::array_layers = 1

◆ aspect_mask

VkImageAspectFlags Image::CreateInfo::aspect_mask = VK_IMAGE_ASPECT_COLOR_BIT

◆ create_sampler

bool Image::CreateInfo::create_sampler = false

◆ create_view

bool Image::CreateInfo::create_view = false

◆ extent

VkExtent2D Image::CreateInfo::extent

◆ file_paths

std::vector<std::string> Image::CreateInfo::file_paths = {}

◆ final_layout

VkImageLayout Image::CreateInfo::final_layout

◆ format

VkFormat Image::CreateInfo::format

◆ is_cube_map

bool Image::CreateInfo::is_cube_map = false

◆ memory_properties

VkMemoryPropertyFlags Image::CreateInfo::memory_properties

◆ mip_levels

uint32_t Image::CreateInfo::mip_levels = 1

◆ sampler_address_mode

VkSamplerAddressMode Image::CreateInfo::sampler_address_mode = VK_SAMPLER_ADDRESS_MODE_REPEAT

◆ sampler_anisotropy_enable

VkBool32 Image::CreateInfo::sampler_anisotropy_enable = VK_TRUE

◆ sampler_filter

VkFilter Image::CreateInfo::sampler_filter = VK_FILTER_LINEAR

◆ tiling

VkImageTiling Image::CreateInfo::tiling = VK_IMAGE_TILING_OPTIMAL

◆ usage

VkImageUsageFlags Image::CreateInfo::usage

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