CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
MTComputePipeline.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 "Metal.hpp"
11
13
14#include <functional>
15
16namespace CeresEngine {
17
18 class MTRenderAPI;
19 class MTShaderProgram;
20 class MTPipelineLayout;
21
22 class MTCommandBuffer;
23
44
45} // namespace CeresEngine
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
Metal RenderAPI compute pipeline object.
Definition MTComputePipeline.hpp:25
MTComputePipeline(MTDevicePtr device, const GPUComputePipelineDescriptor &descriptor)
void end(GPUCommandBuffer &commandBuffer) final
GPUResourceSetPtr createResourceSet(const GPUResourceSetDescriptor &descriptor) final
void begin(GPUCommandBuffer &commandBuffer) final
const GPUComputePipelineDescriptor mDescriptor
A object that describes the graphics pipeline object.
Definition MTComputePipeline.hpp:28
Definition Metal.hpp:124
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Compute pipeline descriptor structure.
Definition GPUComputePipeline.hpp:25
Definition GPUResourceSet.hpp:716