Engine » Render » Shader module

Adds shader assets to Cubos.

Bridges

Dependencies

Files

file bridge.hpp
Class cubos::engine::ShaderBridge.
file plugin.hpp
Plugin entry point.
file shader.hpp
Class cubos::engine::Shader.

Classes

class cubos::engine::ShaderBridge
Bridge for loading shader assets.
class cubos::engine::Shader
Contains a shader stage created from GLSL code.

Functions

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

Function documentation

CUBOS_ENGINE_API void shaderPlugin(Cubos& cubos)

Plugin entry function.

Parameters
cubos Cubos main class.