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

#include <CeresEngine/RenderAPI/Vulkan/VKCommon.hpp>

Inheritance diagram for CeresEngine::VKObject< ChildTypeName, ParentType >:
CeresEngine::VKObjectBase CeresEngine::VKDeviceObject< VKBuffer, GPUBuffer > CeresEngine::VKDeviceObject< VKCommandBuffer, GPUCommandBuffer > CeresEngine::VKDeviceObject< VKCommandQueue, GPUCommandQueue > CeresEngine::VKDeviceObject< VKComputePipeline, GPUComputePipeline > CeresEngine::VKDeviceObject< VKFence, GPUFence > CeresEngine::VKDeviceObject< VKGraphicsPipeline, GPUGraphicsPipeline > CeresEngine::VKDeviceObject< VKImage, GPUImage > CeresEngine::VKDeviceObject< VKImageView, GPUImageView > CeresEngine::VKDeviceObject< VKMemoryAllocator > CeresEngine::VKDeviceObject< VKPipelineLayout, GPUPipelineLayout > CeresEngine::VKDeviceObject< VKRenderPass, GPURenderPass > CeresEngine::VKDeviceObject< VKRenderTarget, GPURenderTarget > CeresEngine::VKDeviceObject< VKResourceSet, GPUResourceSet > CeresEngine::VKDeviceObject< VKSampler, GPUSampler > CeresEngine::VKDeviceObject< VKShader, GPUShader > CeresEngine::VKDeviceObject< VKSwapchain, GPUSwapchain > CeresEngine::VKDeviceObject< VKTimerQuery, GPUTimerQuery > CeresEngine::VKDeviceObject< 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 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 Public Member Functions inherited from CeresEngine::VKObjectBase
static voidoperator new (size_t size) noexcept
 
static void operator delete (void *p, std::size_t sz) noexcept
 

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

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