Foundation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Foundation::RHI::RHIApplication Class Referenceabstract

The root object of everything RHI. Implementation of this class inherently defines the RHI backend. More...

#include <Application.hpp>

Inheritance diagram for Foundation::RHI::RHIApplication:
Foundation::RHI::RHIObject Foundation::RHI::VulkanApplication

Public Member Functions

 RHIApplication ()=default
 
 RHIApplication (RHIApplication const &)=delete
 
virtual Core::Span< const RHIDevice::DeviceDescEnumerateDevices () const =0
 
virtual RHIApplicationScopedObjectHandle< RHIDeviceCreateDevice (RHIDevice::DeviceDesc const &desc, Native::NativeWindow *window=nullptr)=0
 
virtual RHIDeviceGetDevice (Handle handle) const =0
 
virtual void DestroyDevice (Handle handle)=0
 
- Public Member Functions inherited from Foundation::RHI::RHIObject
 RHIObject ()=default
 
 RHIObject (RHIObject const &)=delete
 
RHIObjectoperator= (const RHIObject &)=delete
 
 RHIObject (RHIObject &&)=delete
 
RHIObjectoperator= (RHIObject &&)=delete
 
virtual ~RHIObject ()=default
 

Detailed Description

The root object of everything RHI. Implementation of this class inherently defines the RHI backend.

Constructor & Destructor Documentation

◆ RHIApplication() [1/2]

Foundation::RHI::RHIApplication::RHIApplication ( )
default

◆ RHIApplication() [2/2]

Foundation::RHI::RHIApplication::RHIApplication ( RHIApplication const )
delete

Member Function Documentation

◆ CreateDevice()

virtual RHIApplicationScopedObjectHandle< RHIDevice > Foundation::RHI::RHIApplication::CreateDevice ( RHIDevice::DeviceDesc const desc,
Native::NativeWindow window = nullptr 
)
pure virtual

◆ DestroyDevice()

virtual void Foundation::RHI::RHIApplication::DestroyDevice ( Handle  handle)
pure virtual

◆ EnumerateDevices()

virtual Core::Span< const RHIDevice::DeviceDesc > Foundation::RHI::RHIApplication::EnumerateDevices ( ) const
pure virtual

◆ GetDevice()

virtual RHIDevice * Foundation::RHI::RHIApplication::GetDevice ( Handle  handle) const
pure virtual

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