VV::V3::ComputePipeline class

The compute pipeline represents a compute shader.

Base classes

class Pipeline
A monolithic object describing the entire graphics, raytracing, or compute pipeline.

Public types

using CreateInfo = Parent::Compute::CreateInfo

Public static functions

static auto Create(const LogicalDevice& _device, const Cache& _cache, ui32 _createInfoCount, const CreateInfo* _createInfos, const Memory::AllocationCallbacks* _allocator, DynamicArray<ComputePipeline>& _pipelines) -> EResult
Create multiple compute pipelines that will be returned by the given dynamic array container of _pipelines.

Public functions

void Assign(const LogicalDevice& _device, const Cache& _cache, const Memory::AllocationCallbacks* _allocator, Handle _handle)
Assign the logical device, cache, allocator and handle to the compute pipeline.
auto Create(const CreateInfo& _info) -> EResult
Create a compute pipeline.
auto Create(const LogicalDevice& _device, const CreateInfo& _info) -> EResult
Create a compute pipeline (logical device specified).
auto Create(const LogicalDevice& _device, const Cache& _cache, const CreateInfo& _info) -> EResult
Create a compute pipeline (logical device and cache specified).
auto Create(const LogicalDevice& _device, const Cache& _cache, const CreateInfo& _info, const Memory::AllocationCallbacks* _allocator) -> EResult
Create a compute pipeline (logical device, cache, and allocator specified).