luna engine
software engine
Loading...
Searching...
No Matches
luna::renderer::device Class Referenceabstract

the device class is the code representation of the physical device or GPU. More...

#include <device.h>

Inheritance diagram for luna::renderer::device:

Public Member Functions

virtual ~device ()
 
virtual void createContext ()=0
 
virtual void destroyContext ()=0
 

Public Attributes

ref< vulkan::windowwindow
 this is the reference to the main window. More...
 

Detailed Description

the device class is the code representation of the physical device or GPU.

ref<device> device = std::make_shared(new device());
the device class is the code representation of the physical device or GPU.
Definition: device.h:16
std::shared_ptr< T > ref
Definition: core.h:49

Constructor & Destructor Documentation

◆ ~device()

virtual luna::renderer::device::~device ( )
inlinevirtual

Member Function Documentation

◆ createContext()

virtual void luna::renderer::device::createContext ( )
pure virtual

Implemented in luna::vulkan::vulkanDevice.

◆ destroyContext()

virtual void luna::renderer::device::destroyContext ( )
pure virtual

Implemented in luna::vulkan::vulkanDevice.

Member Data Documentation

◆ window

ref<vulkan::window> luna::renderer::device::window

this is the reference to the main window.


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