|
void | destroyPipelineById (uint64_t id) |
|
|
vk::Device | m_Device |
|
vk::PhysicalDevice | m_physicalDevice |
|
std::vector< GraphicsPipeline > | m_Pipelines |
|
◆ createPipeline()
Creates a Graphics Pipeline based on the set shader stages in the Config Struct. This function is wrapped in /src/vkcv/Core.cpp by Core::createGraphicsPipeline(const PipelineConfig &config). Therefore the passManager is filled already by the overall context of an application. On application level it is necessary first to fill a PipelineConfig Struct.
- Parameters
-
config | Hands over all needed information for pipeline creation. |
passManager | Hands over the corresponding render pass. |
- Returns
- A Handler to the created Graphics Pipeline Object.
◆ getPipelineConfig()
Returns the corresponding Pipeline Config Struct of a pipeline object directed by the given Handler.
- Parameters
-
handle | Directing to the requested pipeline. |
- Returns
- Pipeline Config Struct
References vkcv::Handle::getId().
◆ getVkPipeline()
Returns a vk::Pipeline object by handle.
- Parameters
-
handle | Directing to the requested pipeline. |
- Returns
- vk::Pipeline.
References vkcv::Handle::getId().
◆ getVkPipelineLayout()
vk::PipelineLayout vkcv::GraphicsPipelineManager::getVkPipelineLayout |
( |
const GraphicsPipelineHandle & |
handle | ) |
const |
Returns a vk::PipelineLayout object by handle.
- Parameters
-
handle | Directing to the requested pipeline. |
- Returns
- vk::PipelineLayout.
References vkcv::Handle::getId().
The documentation for this class was generated from the following files: