OpenGLUniformWriter Class
Executes typed uniform uploads based on pre-resolved OpenGL locations. More...
Declaration
Public Static Functions Index
template <typename TUniformScope> | |
| static void | write (std::span< OpenGLUniformWriteOperation > operations, UniformValueBag< TUniformScope > &uniformValueBag) noexcept |
|
Writes uniform values for a specific scope to OpenGL. More... | |
Description
Executes typed uniform uploads based on pre-resolved OpenGL locations.
Definition at line 27 of file OpenGLUniformWriter.ixx.
Public Static Functions
write()
| inline noexcept static |
Writes uniform values for a specific scope to OpenGL.
Iterates over prepared write operations, skips invalid locations (-1), maps semantics to supported uniform types, and submits the matching glUniform* call when the value exists in uniformValueBag.
- Template Parameters
-
TUniformScope Uniform lifetime scope tag (for example pass or draw).
- Parameters
-
operations Sequence of resolved OpenGL uniform write operations.
uniformValueBag Typed uniform values used as upload source.
Definition at line 44 of file OpenGLUniformWriter.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.