module
Render TargetAdds 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)
#include <engine/render/target/plugin.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class. |
Variable documentation
CUBOS_ ENGINE_ API Tag resizeRenderTargetTag
#include <engine/render/target/plugin.hpp>
Resizes the Render Target if necessary - for example, due to a window resize.
CUBOS_ ENGINE_ API Tag drawToRenderTargetTag
#include <engine/render/target/plugin.hpp>
Systems which draw to Render Target framebuffers should be tagged with this.