module
G-BufferAdds and manages GBuffer components.
Dependencies
Files
- file g_buffer.hpp
- Component cubos::
engine:: GBuffer. - file plugin.hpp
- Plugin entry point.
Classes
- struct cubos::engine::GBuffer
- Component which stores the GBuffer textures of a render target.
Functions
-
auto gBufferPlugin(Cubos& cubos) -> CUBOS_
ENGINE_ API void - Plugin entry function.
Variables
-
CUBOS_
ENGINE_ API Tag createGBufferTag - Recreates the GBuffer if necessary - for example, due to a render target resize.
-
CUBOS_
ENGINE_ API Tag drawToGBufferTag - Systems which draw to GBuffer textures should be tagged with this.
-
CUBOS_
ENGINE_ API Tag rasterizeToGBufferTag - Rasterizes RenderMesh components to the GBuffer textures.
Function documentation
CUBOS_ ENGINE_ API void gBufferPlugin(Cubos& cubos)
#include <engine/render/g_buffer/plugin.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class. |
Variable documentation
CUBOS_ ENGINE_ API Tag createGBufferTag
#include <engine/render/g_buffer/plugin.hpp>
Recreates the GBuffer if necessary - for example, due to a render target resize.
CUBOS_ ENGINE_ API Tag drawToGBufferTag
#include <engine/render/g_buffer/plugin.hpp>
Systems which draw to GBuffer textures should be tagged with this.
CUBOS_ ENGINE_ API Tag rasterizeToGBufferTag
Rasterizes RenderMesh components to the GBuffer textures.