|
SPARK
0.1.0
A general purpose game engine written in C++.
|
Interface for a push constants layout. More...
#include <PushConstantsLayout.h>
Public Member Functions | |
| virtual unsigned int | size () const noexcept=0 |
| Get the size (in bytes) of the push constants backing memory. | |
| virtual const IPushConstantsRange & | range (ShaderStage stage) const =0 |
Get the push constants range associated with the shader stage provided. | |
| std::vector< const IPushConstantsRange * > | ranges () const noexcept |
| Get all push constants ranges . | |
Interface for a push constants layout.
|
nodiscardpure virtual |
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. |
Implemented in spark::render::PushConstantsLayout< PushConstantsRangeType >, spark::render::PushConstantsLayout< VulkanPushConstantsRange >, and spark::render::vk::VulkanPushConstantsLayout.
|
inlinenodiscardnoexcept |
Get all push constants ranges .
|
nodiscardpure virtualnoexcept |
Get the size (in bytes) of the push constants backing memory.
Implemented in spark::render::vk::VulkanPushConstantsLayout.