Skip to main content

OpenGLShaderComponent.ixx File

Component storing native OpenGL program id for a shader entity. More...

Included Headers

#include <helios.engine.rendering.shader.concepts.IsShaderHandle>

Namespaces Index

namespacehelios
namespaceopengl
namespacecomponents
namespaceconcepts

Classes Index

structOpenGLShaderComponent<THandle>

Binds a shader entity to its linked OpenGL program. More...

Description

Component storing native OpenGL program id for a shader entity.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7export module helios.opengl.components.OpenGLShaderComponent;
8
9import helios.engine.rendering.shader.concepts.IsShaderHandle;
10
11using namespace helios::engine::rendering::shader::concepts;
12export namespace helios::opengl::components {
13
19 template<typename THandle>
20 requires IsShaderHandle<THandle>
22
24 unsigned int programId = 0;
25
26 };
27}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.