KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
Karma::FDynamicRHI Class Referenceabstract

Abstract base class for Dynamic Rendering Hardware Interface (RHI). More...

#include <DynamicRHI.h>

Inheritance diagram for Karma::FDynamicRHI:
Karma::IVulkanDynamicRHI Karma::FVulkanDynamicRHI

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 FDynamicRHICreateRHI ()

Detailed Description

Abstract base class for Dynamic Rendering Hardware Interface (RHI).

Provides an interface for dynamic rendering operations across different graphics APIs.

Since
Unreal Engine 6.0.0

Member Function Documentation

◆ Init()

virtual bool Karma::FDynamicRHI::Init ( )
pure virtual

Initializes the RHI.

Sets up necessary resources and states for rendering.

Returns
true if initialization was successful, false otherwise.

Implemented in Karma::FVulkanDynamicRHI.

◆ Present()

virtual void Karma::FDynamicRHI::Present ( )
pure virtual

Presents the rendered frame to the display.

Implemented in Karma::FVulkanDynamicRHI.

◆ Shutdown()

virtual void Karma::FDynamicRHI::Shutdown ( )
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).

Note
Cleans up resources and states used by the RHI.

Implemented in Karma::FVulkanDynamicRHI.


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