Engine » Render » G-Buffer module

Adds 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)

Plugin entry function.

Parameters
cubos Cubos main class.

Variable documentation

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.