Skip to content

LiteFX::Rendering::Backends::VulkanFrameBuffer::imageView

imageView overloads

Synopses

Declared in <litefx/backends/vulkan.hpp>

Returns the image view for an image with the specified name.

[[dllimport, dllexport]] VkImageView imageView(StringView imageName) const;

» more...

Returns the image view for an image at the specified index.

[[dllimport, dllexport]] VkImageView imageView(UInt32 imageIndex) const;

» more...

Returns the image view for an image mapped to the specified render target.

[[dllimport, dllexport]] VkImageView imageView(RenderTarget const& renderTarget) const;

» more...

Exceptions

NameThrown on
InvalidArgumentExceptionThrown, if the provided image name does refer to an image within the frame buffer.
ArgumentOutOfRangeExceptionThrown, if the provided image index does not address an image within the frame buffer.

Return Value

The image view for the image.

Parameters

NameDescription
imageNameThe name of the image for which the image view should be returned.
imageIndexThe index of the image for which the image view should be returned.
renderTargetThe render target for which to return the image image view.