SPARK
0.1.0
A general purpose game engine written in C++.
|
Vulkan implementation of IPushConstantsLayout. More...
#include <VulkanPushConstantsLayout.h>
Classes | |
struct | Impl |
Public Member Functions | |
VulkanPushConstantsLayout (std::vector< std::unique_ptr< VulkanPushConstantsRange > > &&ranges, unsigned int size) | |
Initializes a new VulkanPushConstantsLayout. | |
VulkanPushConstantsLayout (const VulkanPushConstantsLayout &other)=delete | |
VulkanPushConstantsLayout (VulkanPushConstantsLayout &&other) noexcept=delete | |
VulkanPushConstantsLayout & | operator= (const VulkanPushConstantsLayout &other)=delete |
VulkanPushConstantsLayout & | operator= (VulkanPushConstantsLayout &&other) noexcept=delete |
const VulkanPipelineLayout & | pipelineLayout () const |
Gets the parent pipeline layout, the push constants are described for. | |
unsigned | size () const noexcept override |
Get the size (in bytes) of the push constants backing memory. | |
const VulkanPushConstantsRange & | range (ShaderStage stage) const override |
Get the push constants range associated with the shader stage provided. | |
std::vector< const VulkanPushConstantsRange * > | ranges () const noexcept override |
Get all push constants ranges . | |
![]() | |
std::vector< const IPushConstantsRange * > | ranges () const noexcept |
Get all push constants ranges . | |
Additional Inherited Members | |
![]() | |
using | PushConstantsRange |
Vulkan implementation of IPushConstantsLayout.
|
explicit |
Initializes a new VulkanPushConstantsLayout.
ranges | The ranges contained in this layout. |
size | The overall size (in bytes) of the push constants backing memory. |
base::BadArgumentException | If more than one range is specified for the same shader stage. |
|
nodiscard |
Gets the parent pipeline layout, the push constants are described for.
|
nodiscardoverridevirtual |
Get the push constants range associated with the shader stage
provided.
stage
provided.spark::base::ArgumentOutOfRangeException | if no range is mapped to the provided shader stage. |
spark::base::BadArgumentException | if stage contains multiple shader stages. |
Implements spark::render::PushConstantsLayout< VulkanPushConstantsRange >.
|
nodiscardoverridevirtualnoexcept |
Get all push constants ranges .
Implements spark::render::PushConstantsLayout< VulkanPushConstantsRange >.
|
nodiscardoverridevirtualnoexcept |
Get the size (in bytes) of the push constants backing memory.
Implements spark::render::IPushConstantsLayout.