|
SPARK
0.1.0
A general purpose game engine written in C++.
|
Vulkan implementation of IInputAttachmentMapping. More...
#include <VulkanInputAttachmentMapping.h>
Classes | |
| struct | Impl |
Public Member Functions | |
| VulkanInputAttachmentMapping () | |
| Initializes a default VulkanInputAttachmentMapping. | |
| VulkanInputAttachmentMapping (const VulkanRenderPass &render_pass, const RenderTarget &render_target, unsigned location) | |
| Initializes a VulkanInputAttachmentMapping. | |
| VulkanInputAttachmentMapping (const VulkanInputAttachmentMapping &other) | |
| VulkanInputAttachmentMapping (VulkanInputAttachmentMapping &&other) noexcept | |
| VulkanInputAttachmentMapping & | operator= (const VulkanInputAttachmentMapping &other) |
| VulkanInputAttachmentMapping & | operator= (VulkanInputAttachmentMapping &&other) noexcept |
| const VulkanRenderPass * | source () const noexcept override |
| Gets the source of the input attachment render target. | |
| const RenderTarget & | renderTarget () const noexcept override |
| Gets a reference to the render target mapped to this input attachment. | |
| unsigned | location () const noexcept override |
| Gets the location of the input attachment, the render target will be bound to. | |
Additional Inherited Members | |
Public Types inherited from spark::render::InputAttachmentMapping< VulkanRenderPass > | |
| using | InputAttachmentMappingSource |
Vulkan implementation of IInputAttachmentMapping.
|
explicit |
Initializes a VulkanInputAttachmentMapping.
| render_pass | The VulkanRenderPass to fetch the input attachment from. |
| render_target | The RenderTarget of the RenderPass that is used for the input attachment. |
| location | The location to bind the input attachment to. |
|
nodiscardoverridevirtualnoexcept |
Gets the location of the input attachment, the render target will be bound to.
The locations of all input attachments for a frame buffer must be within a continuous domain, starting at 0. A frame buffer validates the locations when it is initialized and will raise an exception, if a location is either not mapped or assigned multiple times.
Implements spark::render::InputAttachmentMapping< VulkanRenderPass >.
|
nodiscardoverridevirtualnoexcept |
Gets a reference to the render target mapped to this input attachment.
Implements spark::render::InputAttachmentMapping< VulkanRenderPass >.
|
nodiscardoverridevirtualnoexcept |
Gets the source of the input attachment render target.
Implements spark::render::InputAttachmentMapping< VulkanRenderPass >.