class new in Git master
#include <Magnum/Vk/RenderPass.h>
SubpassBeginInfo Subpass begin info.
Wraps VkSubpassBeginInfo. See Render pass recording for more information.
Constructors, destructors, conversion operators
-
SubpassBeginInfo(SubpassContents contents = SubpassContents::
Inline) explicit - Constructor.
- SubpassBeginInfo(NoInitT) explicit noexcept
- Construct without initializing the contents.
- SubpassBeginInfo(const VkSubpassBeginInfo& info) explicit
- Construct from existing data.
- operator const VkSubpassBeginInfo*() const
Public functions
- auto operator*() -> VkSubpassBeginInfo&
- Underlying VkSubpassBeginInfo structure.
- auto operator*() const -> const VkSubpassBeginInfo&
- auto operator->() -> VkSubpassBeginInfo*
- auto operator->() const -> const VkSubpassBeginInfo*
Function documentation
Magnum:: Vk:: SubpassBeginInfo:: SubpassBeginInfo(SubpassContents contents = SubpassContents:: Inline) explicit
Constructor.
Parameters | |
---|---|
contents | How commands in the subpass will be provided |
The following VkSubpassBeginInfo fields are pre-filled in addition to sType
, everything else is zero-filled:
contents
Magnum:: Vk:: SubpassBeginInfo:: SubpassBeginInfo(NoInitT) explicit noexcept
Construct without initializing the contents.
Note that not even the sType
field is set — the structure has to be fully initialized afterwards in order to be usable.
Magnum:: Vk:: SubpassBeginInfo:: SubpassBeginInfo(const VkSubpassBeginInfo& info) explicit
Construct from existing data.
Copies the existing values verbatim, pointers are kept unchanged without taking over the ownership. Modifying the newly created instance will not modify the original data nor the pointed-to data.
Magnum:: Vk:: SubpassBeginInfo:: operator const VkSubpassBeginInfo*() const
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
const VkSubpassBeginInfo& Magnum:: Vk:: SubpassBeginInfo:: operator*() const
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
VkSubpassBeginInfo* Magnum:: Vk:: SubpassBeginInfo:: operator->()
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
const VkSubpassBeginInfo* Magnum:: Vk:: SubpassBeginInfo:: operator->() const
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.