LiteFX::Rendering::ISurface¶
Represents a surface to render to.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
class [[dllimport, dllexport]] ISurface;
Description¶
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.
Member Functions¶
| Name | Description |
|---|---|
~ISurface [destructor] [virtual] | Destructor |
Protected Member Functions¶
Derived Classes¶
| Name | Description |
|---|---|
DirectX12Surface | Implements a DirectX12 ISurface. |
VulkanSurface | Represents a Vulkan ISurface. |