Vulkan implementation of IPipeline.
More...
#include <VulkanPipeline.h>
|
virtual void | use (const VulkanCommandBuffer &command_buffer) const noexcept=0 |
| Sets the current pipeline state on the ICommandBuffer.
|
|
virtual void | bind (const VulkanCommandBuffer &command_buffer, const VulkanDescriptorSet &descriptor_set) const noexcept=0 |
| Binds a descriptor set on a ICommandBuffer.
|
|
| Resource (Handle handle) noexcept |
| Initializes the managed resource with the given handle.
|
|
| Resource (const Resource &other)=delete |
|
| Resource (Resource &&other) noexcept=delete |
|
virtual std::shared_ptr< const shader_program_type > | program () const noexcept=0 |
| Gets the shader program used by the pipeline.
|
|
virtual std::shared_ptr< pipeline_layout_type > | layout () const noexcept=0 |
| Gets the pipeline layout.
|
|
std::shared_ptr< const IShaderProgram > | program () const noexcept |
| Gets the shader program used by the pipeline.
|
|
std::shared_ptr< IPipelineLayout > | layout () const noexcept |
| Gets the pipeline layout.
|
|
virtual const std::string & | name () const noexcept=0 |
| Gets the name of the state resource.
|
|
| Resource (VkPipeline handle) noexcept |
| Initializes the managed resource with the given handle.
|
|
| Resource (const Resource &other)=delete |
|
| Resource (Resource &&other) noexcept=delete |
|
Resource & | operator= (const Resource &other)=delete |
|
Resource & | operator= (Resource &&other) noexcept=delete |
|
const VkPipeline & | handle () const final |
| Gets the managed resource handle.
|
|
|
using | shader_program_type |
|
using | pipeline_layout_type |
|
using | handle_type |
|
VkPipeline & | handle () final |
| Gets the managed resource handle.
|
|
Vulkan implementation of IPipeline.
◆ bind()
◆ Resource()
Initializes the managed resource with the given handle.
- Parameters
-
handle | The handle to the managed resource. |
◆ use()
virtual void spark::render::vk::VulkanPipelineState::use |
( |
const VulkanCommandBuffer & | command_buffer | ) |
const |
|
pure virtualnoexcept |