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

#include <CeresEngine/RenderAPI/WebGPU/WebGPU.hpp>

Inheritance diagram for CeresEngine::WGDeviceObject< ChildTypeName, ParentType >:
CeresEngine::WGObject< ChildTypeName, ParentType >

Protected Member Functions

 WGDeviceObject (WGDevicePtr device)
 Creates a new WGDeviceObject from the given device.
 

Protected Attributes

WGDevicedeviceWG
 The owning WGDevice instance.
 

Additional Inherited Members

- Static Public Member Functions inherited from CeresEngine::WGObject< ChildTypeName, ParentType >
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.
 

Constructor & Destructor Documentation

◆ WGDeviceObject()

CeresEngine::WGDeviceObject< ChildTypeName, ParentType >::WGDeviceObject ( WGDevicePtr  device)
inlineexplicitprotected

Creates a new WGDeviceObject from the given device.

Parameters
deviceThe device owning the object being created

Member Data Documentation

◆ deviceWG

The owning WGDevice instance.


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