|
VkImageView | view () const |
|
bool | init (VkDevice dev, nngn::DeviceMemory *dev_mem, VkCommandBuffer cmd, VkImageCreateFlags flags, VkFormat format, VkExtent3D extent, std::uint32_t mip_levels, std::uint32_t n_layers, VkImageUsageFlags usage, VkImageAspectFlags aspects, VkImageLayout layout, VkImageViewType view_type, VkPipelineStageFlags src_stage, VkPipelineStageFlags dst_stage, VkAccessFlags src_mask, VkAccessFlags dst_mask) |
|
void | destroy (VkDevice dev, nngn::DeviceMemory *dev_mem) |
|
VkImage | id () const |
|
VkDeviceMemory | mem () const |
|
void | destroy (VkDevice dev, DeviceMemory *dev_mem) |
|
template<VkMemoryPropertyFlags f> |
bool | init (VkDevice dev, DeviceMemory *dev_mem, VkImageCreateFlags flags, VkImageType type, VkFormat format, VkExtent3D extent, std::uint32_t mip_levels, std::uint32_t n_layers, VkSampleCountFlagBits n_samples, VkImageTiling tiling, VkImageUsageFlags usage) |
|
bool | init_mipmaps (VkCommandBuffer cmd, VkExtent3D extent, std::uint32_t mip_levels, std::uint32_t base_layer, std::uint32_t n_layers) const |
|
bool | create_view (VkDevice dev, VkImageViewType type, VkFormat format, VkImageAspectFlags aspect_flags, std::uint32_t mip_levels, std::uint32_t base_layer, std::uint32_t n_layers, VkImageView *p) const |
|
void | transition_layout (VkCommandBuffer cmd, VkPipelineStageFlags src_stage, VkPipelineStageFlags dst_stage, VkAccessFlags src_mask, VkAccessFlags dst_mask, VkImageLayout src, VkImageLayout dst, const VkImageSubresourceRange &range) const |
|