ComputePipelineSetup class
Used as configuration for creating a new compute tp::
Constructors, destructors, conversion operators
- ComputePipelineSetup(const PipelineLayout* pipelineLayout, ShaderStageSetup computeStageSetup, const char* debugName = nullptr)
Public functions
- auto addFlags(PipelineFlagMask flags) -> ComputePipelineSetup&
- Adds the pipeline flags.
- auto clearFlags() -> ComputePipelineSetup&
- Clears all pipeline flags.
- auto setComputeStage(ShaderStageSetup computeStageSetup) -> ComputePipelineSetup&
- Sets the compute shader stage.
- auto setDebugName(const char* debugName = nullptr) -> ComputePipelineSetup&
- Sets a debug name identifier for the object.
- auto vkSetCreateInfoExtPtr(void* pNext) -> ComputePipelineSetup&
- Sets the pointer to additional Vulkan structures to be passed in
pNextof VkComputePipelineCreateInfo.
Function documentation
tp:: ComputePipelineSetup:: ComputePipelineSetup(const PipelineLayout* pipelineLayout,
ShaderStageSetup computeStageSetup,
const char* debugName = nullptr)
| Parameters | |
|---|---|
| pipelineLayout | The pipeline layout to use. |
| computeStageSetup | The setup of the compute shader stage. |
| debugName | The debug name identifier for the object. |