LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::ISurface Class Reference

Represents a surface to render to. More...

#include <rendering_api.hpp>

Inherited by LiteFX::Rendering::Backends::DirectX12Surface, and LiteFX::Rendering::Backends::VulkanSurface.

Public Member Functions

virtual ~ISurface () noexcept=default
 

Detailed Description

Represents a surface to render to.

A surface can be seen as a window or area on the screen, the renderer can draw to. Note that the interface does not make any constraints on the surface to allow for portability. A surface implementation may provide access to the actual handle to use. Surface instances are responsible for owning the handle.

Constructor & Destructor Documentation

◆ ~ISurface()

virtual LiteFX::Rendering::ISurface::~ISurface ( )
virtualdefaultnoexcept