Move DataFormat to vk Format conversion to cast operator
This commit is contained in:
@@ -39,7 +39,7 @@ namespace OpenVulkano::Vulkan
|
||||
*/
|
||||
void Init(const Device* device, const vk::ImageCreateInfo& imageCreateInfo, vk::ImageViewCreateInfo imageViewCreateInfo, const vk::MemoryPropertyFlags& memoryPropertyFlags = vk::MemoryPropertyFlagBits::eDeviceLocal);
|
||||
|
||||
void Init(const Device* device, const DataFormat format, const vk::Extent3D& resolution);
|
||||
void Init(const Device* device, const DataFormat& format, const vk::Extent3D& resolution);
|
||||
|
||||
void SetLayout(vk::CommandBuffer& cmdBuffer, const vk::ImageSubresourceRange& subResourceRange, vk::ImageLayout newLayout, vk::ImageLayout oldLayout = vk::ImageLayout::eUndefined) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user