class ImageView

Defined at line 19 of file ../../src/graphics/examples/vkproto/common/image_view.h

ImageView provides an image view with a backing |image_| and

|image_memory_| suitable as a color attachment for rendering.

Public Methods

void ImageView (std::shared_ptr<vk::Device> device, const vk::PhysicalDevice & physical_device, const vk::Extent2D & extent)

Defined at line 11 of file ../../src/graphics/examples/vkproto/common/image_view.cc

bool Init ()

Defined at line 15 of file ../../src/graphics/examples/vkproto/common/image_view.cc

void ImageView ()

Defined at line 23 of file ../../src/graphics/examples/vkproto/common/image_view.h

const vk::Extent2D & extent ()

Defined at line 28 of file ../../src/graphics/examples/vkproto/common/image_view.h

const vk::Format & format ()

Defined at line 29 of file ../../src/graphics/examples/vkproto/common/image_view.h

const vk::UniqueDeviceMemory & image_memory ()

Defined at line 30 of file ../../src/graphics/examples/vkproto/common/image_view.h

const vk::UniqueImage & image ()

Defined at line 31 of file ../../src/graphics/examples/vkproto/common/image_view.h

const vk::ImageView & get ()

Defined at line 32 of file ../../src/graphics/examples/vkproto/common/image_view.h

bool Init (vk::UniqueImage image, vk::UniqueDeviceMemory image_memory, vk::Format format)

Defined at line 74 of file ../../src/graphics/examples/vkproto/common/image_view.cc