module
ShaderAdds shader assets to Cubos.
Bridges
- ShaderBridge - registered with the
.vs
extension, loads Vertex Shader assets. - ShaderBridge - registered with the
.fs
extension, loads Pixel Shader assets.
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)
#include <engine/render/shader/plugin.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class. |