LiteFX 0.4.1.2025
Computer Graphics Engine
Loading...
Searching...
No Matches
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
 

Protected Member Functions

 ISurface () noexcept=default
 
 ISurface (const ISurface &)=default
 
 ISurface (ISurface &&) noexcept=default
 
ISurfaceoperator= (const ISurface &)=default
 
ISurfaceoperator= (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() [1/3]

LiteFX::Rendering::ISurface::ISurface ( )
protecteddefaultnoexcept

◆ ISurface() [2/3]

LiteFX::Rendering::ISurface::ISurface ( const ISurface & )
protecteddefault

◆ ISurface() [3/3]

LiteFX::Rendering::ISurface::ISurface ( ISurface && )
protecteddefaultnoexcept

◆ ~ISurface()

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

Member Function Documentation

◆ operator=() [1/2]

ISurface & LiteFX::Rendering::ISurface::operator= ( const ISurface & )
protecteddefault

◆ operator=() [2/2]

ISurface & LiteFX::Rendering::ISurface::operator= ( ISurface && )
protecteddefaultnoexcept