module
DepthAdds 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)
#include <engine/render/depth/plugin.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class. |
Variable documentation
CUBOS_ ENGINE_ API Tag createRenderDepthTag
#include <engine/render/depth/plugin.hpp>
Recreates the RenderDepth texture if necessary - for example, due to a render target resize.
CUBOS_ ENGINE_ API Tag drawToRenderDepthTag
#include <engine/render/depth/plugin.hpp>
Systems which draw to RenderDepth textures should be tagged with this.