OpenGLUniformLocationCacheStrategy.ixx File
Strategy that resolves shader uniform names into OpenGL write-operation plans. More...
Included Headers
#include <glad/gl.h>
#include <vector>
#include <cassert>
#include <helios.opengl.components.OpenGLUniformWriteOperationsComponent>
#include <helios.engine.util.log>
#include <helios.engine.rendering.shader.types>
#include <helios.engine.runtime.world.UpdateContext>
#include <helios.opengl.components.OpenGLShaderComponent>
#include <helios.engine.rendering.shader.concepts.IsShaderHandle>
#include <helios.engine.runtime.world.EngineWorld>
#include <helios.engine.rendering.shader.components.UniformMappingsComponent>
Namespaces Index
| namespace | helios |
| namespace | opengl |
Classes Index
| class | OpenGLUniformLocationCacheStrategy<THandle> |
|
Builds OpenGL uniform write-operation plans for one shader entity. More... | |
Macro Definitions Index
| #define | HELIOS_LOG_SCOPE "helios::opengl::OpenGLUniformLocationCacheStrategy" |
Description
Strategy that resolves shader uniform names into OpenGL write-operation plans.
Macro Definitions
HELIOS_LOG_SCOPE
|
Definition at line 31 of file OpenGLUniformLocationCacheStrategy.ixx.
31#define HELIOS_LOG_SCOPE "helios::opengl::OpenGLUniformLocationCacheStrategy"
File Listing
The file content with the documentation metadata removed is:
29using namespace helios::opengl::components;
31#define HELIOS_LOG_SCOPE "helios::opengl::OpenGLUniformLocationCacheStrategy"
32export namespace helios::opengl {
40 class OpenGLUniformLocationCacheStrategy {
42 static inline const Logger& logger_ = LogManager::loggerForScope(HELIOS_LOG_SCOPE);
60 [[nodiscard]] bool cacheUniforms(
87 auto& ulc = shaderEntity->template getOrAdd<OpenGLUniformWriteOperationsComponent<THandle, TUniformScope>>();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.