nngn
Loading...
Searching...
No Matches
anonymous_namespace{vulkan.cpp}::TexArray Class Reference
Inheritance diagram for anonymous_namespace{vulkan.cpp}::TexArray:
Collaboration diagram for anonymous_namespace{vulkan.cpp}::TexArray:

Public Member Functions

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)
 
- Public Member Functions inherited from nngn::Image
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
 

Private Attributes

VkImageView img_view = {}
 

Member Function Documentation

◆ destroy()

void anonymous_namespace{vulkan.cpp}::TexArray::destroy ( VkDevice dev,
nngn::DeviceMemory * dev_mem )
Here is the caller graph for this function:

◆ init()

bool anonymous_namespace{vulkan.cpp}::TexArray::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 )
Here is the caller graph for this function:

◆ view()

VkImageView anonymous_namespace{vulkan.cpp}::TexArray::view ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ img_view

VkImageView anonymous_namespace{vulkan.cpp}::TexArray::img_view = {}
private

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