15 #include <vsg/state/Image.h> 
   21     extern VSG_DECLSPEC VkImageAspectFlags computeAspectFlagsForFormat(VkFormat format);
 
   31         VkImageViewCreateFlags flags = 0;
 
   33         VkImageViewType viewType = VK_IMAGE_VIEW_TYPE_2D;
 
   34         VkFormat format = VK_FORMAT_UNDEFINED;
 
   35         VkComponentMapping components = {VK_COMPONENT_SWIZZLE_IDENTITY, VK_COMPONENT_SWIZZLE_IDENTITY, VK_COMPONENT_SWIZZLE_IDENTITY, VK_COMPONENT_SWIZZLE_IDENTITY};
 
   36         VkImageSubresourceRange subresourceRange;
 
   39         VkImageView 
vk(uint32_t deviceID)
 const { 
return _vulkanData[deviceID].imageView; }
 
   43         virtual void compile(
Device* device);
 
   44         virtual void compile(
Context& context);
 
   51             VkImageView imageView = VK_NULL_HANDLE;
 
   62     using ImageViews = std::vector<ref_ptr<ImageView>>;
 
Device encapsulate vkDeivce, a logical handle to the PhysicalDevice with capabilities specified durin...
Definition: Device.h:37
ImageView class encapsulates VkImageView and VkImageViewCreateInfo settings used to set it up.
Definition: ImageView.h:25
VkImageView vk(uint32_t deviceID) const
Vulkan VkImageView handle.
Definition: ImageView.h:39
int compare(const Object &rhs_object) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...
Definition: ImageView.h:50
vk_buffer that manages a single logical device support.
Definition: vk_buffer.h:28