Resolve "Image-Klasse"
All threads resolved!
All threads resolved!
Compare changes
- #31] Allowed using depth formats for imagesTobias Frisch authored
Signed-off-by:
Tobias Frisch <tfrisch@uni-koblenz.de>
+ 58
− 19
@@ -6,6 +6,8 @@
@@ -6,6 +6,8 @@
@@ -44,6 +46,16 @@ namespace vkcv {
@@ -44,6 +46,16 @@ namespace vkcv {
ImageHandle ImageManager::createImage(uint32_t width, uint32_t height, uint32_t depth, vk::Format format)
@@ -84,13 +96,16 @@ namespace vkcv {
@@ -84,13 +96,16 @@ namespace vkcv {
@@ -114,6 +129,14 @@ namespace vkcv {
@@ -114,6 +129,14 @@ namespace vkcv {
vk::DeviceMemory memory = device.allocateMemory(vk::MemoryAllocateInfo(requirements.size, memoryTypeIndex));
@@ -126,18 +149,18 @@ namespace vkcv {
@@ -126,18 +149,18 @@ namespace vkcv {
@@ -178,6 +201,14 @@ namespace vkcv {
@@ -178,6 +201,14 @@ namespace vkcv {
void ImageManager::switchImageLayout(const ImageHandle& handle, vk::ImageLayout oldLayout, vk::ImageLayout newLayout) {
@@ -203,22 +234,22 @@ namespace vkcv {
@@ -203,22 +234,22 @@ namespace vkcv {
@@ -286,15 +317,23 @@ namespace vkcv {
@@ -286,15 +317,23 @@ namespace vkcv {