|
CeresEngine 0.2.0
A game development framework
|
Metal RenderAPI swapchain object. More...
#include <CeresEngine/RenderAPI/Metal/MTSwapchain.hpp>
Public Types | |
| using | CAMetalDrawableType = void * |
Public Types inherited from CeresEngine::TDeviceObject< GPUSwapchainDescriptor > | |
| using | Descriptor = GPUSwapchainDescriptor |
| An type-alias to the descriptor struct type. | |
Private Attributes | |
| const GPUSwapchainDescriptor | mDescriptor |
| A structure that describes the swapchain and it's properties. | |
| CAMetalDrawableType | mDrawable |
| The Metal API swapchain object. | |
Additional Inherited Members | |
Static Public Member Functions inherited from CeresEngine::MTObject< ChildTypeName, ParentType > | |
| static RC< ChildTypeName > | cast (const RC< ParentType > &ptr) |
Casts a RC containing a ParentType pointer to a pointer to a pointer to a ChildTypeName. | |
| static RC< ChildTypeName > | safeCast (const RC< ParentType > &ptr) |
Safely casts a RC containing a ParentType pointer to a pointer to a pointer to a ChildTypeName. | |
| static ChildTypeName & | cast (ParentType &object) |
Casts a object of type ParentType to a object of type ChildTypeName. | |
| static const ChildTypeName & | cast (const ParentType &object) |
Casts a object of type ParentType to a object of type ChildTypeName. | |
| static ChildTypeName * | cast (ParentType *object) |
Casts a object of type ParentType to a object of type ChildTypeName. | |
| static const ChildTypeName * | cast (const ParentType *object) |
Casts a object of type ParentType to a object of type ChildTypeName. | |
| static ChildTypeName * | safeCast (ParentType *object) |
Casts a object of type ParentType to a object of type ChildTypeName. | |
| static const ChildTypeName * | safeCast (const ParentType *object) |
Casts a object of type ParentType to a object of type ChildTypeName. | |
Public Attributes inherited from CeresEngine::TDeviceObject< GPUSwapchainDescriptor > | |
| const Descriptor & | descriptor |
| A structure that describes the object and it's properties. | |
Public Attributes inherited from CeresEngine::GPUDeviceObject | |
| GPUDevice & | device |
| The owning device this object was created from. | |
Protected Member Functions inherited from CeresEngine::GPUObject | |
| virtual void | destroy () noexcept |
| A internal method called by the system when the object reference count reaches zero. | |
Protected Member Functions inherited from CeresEngine::MTDeviceObject< MTSwapchain, GPUSwapchain > | |
| MTDeviceObject (MTDevicePtr device) | |
Creates a new MTDeviceObject from the given device. | |
Protected Attributes inherited from CeresEngine::MTDeviceObject< MTSwapchain, GPUSwapchain > | |
| MTDevice & | deviceMT |
The owning MTDevice instance. | |
Metal RenderAPI swapchain object.
| CeresEngine::MTSwapchain::MTSwapchain | ( | MTDevicePtr | device, |
| const GPUSwapchainDescriptor & | descriptor | ||
| ) |
Creates a new MTSwapchain object.
| device | The owning device |
| descriptor | The descriptor object that describes the object |
|
final |
Destroys the MTSwapchain object.
|
overridevirtual |
Implements CeresEngine::GPUSwapchain.
|
inlinenoexcept |
The Metal API swapchain object.
|
overridevirtual |
Presents a image from the getSwapchain. The command buffer that signals.
Implements CeresEngine::GPUSwapchain.
|
private |
A structure that describes the swapchain and it's properties.
|
private |
The Metal API swapchain object.