CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
MTCommandQueue.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
14
16
17namespace CeresEngine {
18
19 class MTRenderAPI;
20 class MTCommandBuffer;
21
55
56} // namespace CeresEngine
#define CE_EXPLICIT_FALSE
Definition Macros.hpp:416
#define CE_MT_HANDLE(T)
Definition Metal.hpp:20
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Definition GPUCommandBuffer.hpp:77
Definition GPUCommandQueue.hpp:29
GPUDevice & device
The owning device this object was created from.
Definition Common.hpp:55
Metal RenderAPI command queue object.
Definition MTCommandQueue.hpp:23
MTCommandBufferPtr mCommandBuffer
The pending Metal command buffer.
Definition MTCommandQueue.hpp:35
const GPUCommandQueueDescriptor mDescriptor
The CommandQueue descriptor structure.
Definition MTCommandQueue.hpp:29
MTLCommandQueueType mCommandQueue
The Metal API command queue object.
Definition MTCommandQueue.hpp:32
MTCommandQueue(MTDevicePtr device)
void * MTLCommandQueueType
Definition MTCommandQueue.hpp:25
GPUCommandBufferPtr createCommandBuffer(const GPUCommandBufferDescriptor &descriptor) final
Async submit(GPUCommandBuffer &commandBuffer) final
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
cti::continuable< Args... > Async
Defines a non-copyable continuation type which uses the function2 backend for type erasure.
Definition Async.hpp:22
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Command buffer descriptor structure.
Definition GPUCommandBuffer.hpp:32
Command queue descriptor structure.
Definition GPUCommandQueue.hpp:23