CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::MKObject< ChildTypeName, ParentType > Class Template Reference

#include <CeresEngine/RenderAPI/Mock/MKCommon.hpp>

Inheritance diagram for CeresEngine::MKObject< ChildTypeName, ParentType >:
CeresEngine::MKDeviceObject< MKBuffer, GPUBuffer > CeresEngine::MKDeviceObject< MKCommandBuffer, GPUCommandBuffer > CeresEngine::MKDeviceObject< MKCommandQueue, GPUCommandQueue > CeresEngine::MKDeviceObject< MKComputePipeline, GPUComputePipeline > CeresEngine::MKDeviceObject< MKFence, GPUFence > CeresEngine::MKDeviceObject< MKGraphicsPipeline, GPUGraphicsPipeline > CeresEngine::MKDeviceObject< MKImage, GPUImage > CeresEngine::MKDeviceObject< MKImageView, GPUImageView > CeresEngine::MKDeviceObject< MKPipelineLayout, GPUPipelineLayout > CeresEngine::MKDeviceObject< MKRenderPass, GPURenderPass > CeresEngine::MKDeviceObject< MKRenderTarget, GPURenderTarget > CeresEngine::MKDeviceObject< MKResourceSet, GPUResourceSet > CeresEngine::MKDeviceObject< MKSampler, GPUSampler > CeresEngine::MKDeviceObject< MKShader, GPUShader > CeresEngine::MKDeviceObject< MKShaderProgram, GPUShaderProgram > CeresEngine::MKDeviceObject< MKSwapchain, GPUSwapchain > CeresEngine::MKDeviceObject< ChildTypeName, ParentType >

Static Public Member Functions

static RC< ChildTypeNamecast (const RC< ParentType > &ptr)
 Casts a RC containing a ParentType pointer to a pointer to a pointer to a ChildTypeName.
 
static RC< ChildTypeNamesafeCast (const RC< ParentType > &ptr)
 Safely casts a RC containing a ParentType pointer to a pointer to a pointer to a ChildTypeName.
 
static ChildTypeNamecast (ParentType &object)
 Casts a object of type ParentType to a object of type ChildTypeName.
 
static const ChildTypeNamecast (const ParentType &object)
 Casts a object of type ParentType to a object of type ChildTypeName.
 
static ChildTypeNamecast (ParentType *object)
 Casts a object of type ParentType to a object of type ChildTypeName.
 
static const ChildTypeNamecast (const ParentType *object)
 Casts a object of type ParentType to a object of type ChildTypeName.
 
static ChildTypeNamesafeCast (ParentType *object)
 Casts a object of type ParentType to a object of type ChildTypeName.
 
static const ChildTypeNamesafeCast (const ParentType *object)
 Casts a object of type ParentType to a object of type ChildTypeName.
 

Member Function Documentation

◆ cast() [1/5]

Casts a object of type ParentType to a object of type ChildTypeName.

Parameters
objectThe parent type object
Returns
The casted object

◆ cast() [2/5]

Casts a object of type ParentType to a object of type ChildTypeName.

Parameters
objectThe parent type object
Returns
The casted object

◆ cast() [3/5]

Casts a RC containing a ParentType pointer to a pointer to a pointer to a ChildTypeName.

Parameters
ptrThe parent type pointer
Returns
The object casted pointer

◆ cast() [4/5]

Casts a object of type ParentType to a object of type ChildTypeName.

Parameters
objectThe parent type object
Returns
The casted object

◆ cast() [5/5]

Casts a object of type ParentType to a object of type ChildTypeName.

Parameters
objectThe parent type object
Returns
The casted object

◆ safeCast() [1/3]

Casts a object of type ParentType to a object of type ChildTypeName.

Parameters
objectThe parent type object
Returns
The casted object

◆ safeCast() [2/3]

Safely casts a RC containing a ParentType pointer to a pointer to a pointer to a ChildTypeName.

Parameters
ptrThe parent type pointer
Returns
The object casted pointer

◆ safeCast() [3/3]

Casts a object of type ParentType to a object of type ChildTypeName.

Parameters
objectThe parent type object
Returns
The casted object

The documentation for this class was generated from the following file: