Engine » Render » Render Target module

Adds and manages RenderTarget components.

Dependencies

Files

file plugin.hpp
Plugin entry point.
file target.hpp
Component cubos::engine::RenderTarget.

Classes

struct cubos::engine::RenderTarget
Component which represents a render target.

Functions

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

Variables

CUBOS_ENGINE_API Tag resizeRenderTargetTag
Resizes the Render Target if necessary - for example, due to a window resize.
CUBOS_ENGINE_API Tag drawToRenderTargetTag
Systems which draw to Render Target framebuffers should be tagged with this.

Function documentation

CUBOS_ENGINE_API void renderTargetPlugin(Cubos& cubos)

Plugin entry function.

Parameters
cubos Cubos main class.

Variable documentation

CUBOS_ENGINE_API Tag resizeRenderTargetTag

Resizes the Render Target if necessary - for example, due to a window resize.

CUBOS_ENGINE_API Tag drawToRenderTargetTag

Systems which draw to Render Target framebuffers should be tagged with this.