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;
Returns the image view for an image at the specified index.
[[dllimport, dllexport]] VkImageView imageView(UInt32 imageIndex) const;
Returns the image view for an image mapped to the specified render target.
[[dllimport, dllexport]] VkImageView imageView(RenderTarget const& renderTarget) const;
Exceptions¶
| Name | Thrown on |
|---|---|
InvalidArgumentException | Thrown, if the provided image name does refer to an image within the frame buffer. |
ArgumentOutOfRangeException | Thrown, if the provided image index does not address an image within the frame buffer. |
Return Value¶
The image view for the image.
Parameters¶
| Name | Description |
|---|---|
| imageName | The name of the image for which the image view should be returned. |
| imageIndex | The index of the image for which the image view should be returned. |
| renderTarget | The render target for which to return the image image view. |