Engine » Render » HDR module

Adds and manages HDR components.

Dependencies

Files

file hdr.hpp
Component cubos::engine::HDR.
file plugin.hpp
Plugin entry point.

Classes

struct cubos::engine::HDR
Component which stores the HDR texture of a render target.

Functions

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

Variables

CUBOS_ENGINE_API Tag createHDRTag
Recreates the HDR texture if necessary - for example, due to a render target resize.
CUBOS_ENGINE_API Tag drawToHDRTag
Systems which draw to HDR textures should be tagged with this.

Function documentation

CUBOS_ENGINE_API void hdrPlugin(Cubos& cubos)

Plugin entry function.

Parameters
cubos Cubos main class.

Variable documentation

CUBOS_ENGINE_API Tag createHDRTag

Recreates the HDR texture if necessary - for example, due to a render target resize.

CUBOS_ENGINE_API Tag drawToHDRTag

Systems which draw to HDR textures should be tagged with this.