|
KarmaEngine
Game Engine for practical learning and research purposes
|
Abstract base class for Dynamic Rendering Hardware Interface (RHI). More...
#include <DynamicRHI.h>
Public Member Functions | |
| virtual | ~FDynamicRHI ()=default |
| Virtual destructor for FDynamicRHI. | |
| virtual bool | Init ()=0 |
| Initializes the RHI. | |
| virtual void | Shutdown ()=0 |
| Shuts down the RHI. | |
| virtual void | Present ()=0 |
| Presents the rendered frame to the display. | |
| virtual Karma::ERHIInterfaceType | GetInterfaceType () const |
Static Public Member Functions | |
| static FDynamicRHI * | CreateRHI () |
Abstract base class for Dynamic Rendering Hardware Interface (RHI).
Provides an interface for dynamic rendering operations across different graphics APIs.
|
pure virtual |
Initializes the RHI.
Sets up necessary resources and states for rendering.
Implemented in Karma::FVulkanDynamicRHI.
|
pure virtual |
Presents the rendered frame to the display.
Implemented in Karma::FVulkanDynamicRHI.
|
pure virtual |
Shuts down the RHI.
Handles shutdown and resource destruction before the RHI's actual destructor is called (so that all resources of the RHI are still available for shutdown).
Implemented in Karma::FVulkanDynamicRHI.