15#include <vsg/state/Image.h>
21 extern VSG_DECLSPEC VkImageAspectFlags computeAspectFlagsForFormat(VkFormat format);
43 virtual void compile(
Device* device);
44 virtual void compile(
Context& context);
62 using ImageViews = std::vector<ref_ptr<ImageView>>;
71 extern VSG_DECLSPEC
void transferImageData(
ref_ptr<ImageView> imageView,
VkImageLayout targetImageLayout,
Data::Properties properties,
uint32_t width,
uint32_t height,
uint32_t depth,
uint32_t mipLevels,
const Data::MipmapOffsets& mipmapOffsets,
ref_ptr<Buffer> stagingBuffer,
VkDeviceSize stagingBufferOffset,
VkCommandBuffer vk_commandBuffer,
vsg::Device* device);
Device encapsulates VkDevice, a logical handle to the PhysicalDevice with capabilities specified duri...
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
std container adapter for allocating with MEMORY_AFFINITY_NODES
Definition Allocator.h:138