Engine » Render » Depth module

Adds and manages the RenderDepth component.

Components

Dependencies

Files

file depth.hpp
Component cubos::engine::RenderDepth.
file plugin.hpp
Plugin entry point.

Classes

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

Functions

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

Variables

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

Function documentation

CUBOS_ENGINE_API void renderDepthPlugin(Cubos& cubos)

Plugin entry function.

Parameters
cubos Cubos main class.

Variable documentation

CUBOS_ENGINE_API Tag createRenderDepthTag

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

CUBOS_ENGINE_API Tag drawToRenderDepthTag

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