CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
VKComputePipeline.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include "VKCommon.hpp"
11
13
15
16namespace CeresEngine {
17
18 class VKPipelineLayout;
19 class VKShaderProgram;
20
68
69} // namespace CeresEngine
#define CE_EXPLICIT_FALSE
Definition Macros.hpp:416
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Definition GPUCommandBuffer.hpp:77
Definition GPUComputePipeline.hpp:62
GPUDevice & device
The owning device this object was created from.
Definition Common.hpp:55
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition VKComputePipeline.hpp:21
VKShaderProgramPtr mShaderProgram
A reference to the shader program object.
Definition VKComputePipeline.hpp:33
static Allocator & getAllocator() noexcept
Returns the allocator for VKComputePipeline.
void begin(GPUCommandBuffer &commandBuffer) final
void destroy() noexcept final
const GPUComputePipelineDescriptor descriptorVK
A structure that describes the compute pipeline and it's properties.
Definition VKComputePipeline.hpp:24
VKPipelineLayoutPtr mPipelineLayout
A reference to the pipeline layout object.
Definition VKComputePipeline.hpp:30
GPUResourceSetPtr createResourceSet(const GPUResourceSetDescriptor &descriptor) final
VKObjectAllocator Allocator
An allocator type used to allocate new VKComputePipeline instances from a memory pool.
Definition VKComputePipeline.hpp:44
void end(GPUCommandBuffer &commandBuffer) final
VkPipeline mPipeline
The Vulkan pipeline object.
Definition VKComputePipeline.hpp:27
VKComputePipeline(VKDevice &device, const GPUComputePipelineDescriptor &descriptor)
Definition VKDevice.hpp:79
Definition VKCommon.hpp:143
Definition Application.hpp:19
ThreadSafeAllocator< MemoryPool< NodePool, AllocatorReference< VKAllocator > > > VKObjectAllocator
A pool allocator to be used for individual object pools.
Definition VKCommon.hpp:59
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition Span.hpp:668
Compute pipeline descriptor structure.
Definition GPUComputePipeline.hpp:25
Definition GPUResourceSet.hpp:716