Engine » Render » Splitscreen module

Adjusts the viewport in DrawsTo relations to achieve a splitscreen layout.

Dependencies

Files

file plugin.hpp
Plugin entry point.
file split_screen.hpp
Component cubos::engine::SplitScreen.

Classes

struct cubos::engine::SplitScreen
Component which enables splitscreen in a render target.

Functions

auto splitScreenPlugin(Cubos& cubos) -> CUBOS_ENGINE_API void
Plugin entry function.

Variables

CUBOS_ENGINE_API Tag splitScreenTag
Tags the system which adjusts the viewports.

Function documentation

CUBOS_ENGINE_API void splitScreenPlugin(Cubos& cubos)

Plugin entry function.

Parameters
cubos Cubos main class

Variable documentation

CUBOS_ENGINE_API Tag splitScreenTag

Tags the system which adjusts the viewports.