|
Unravel Engine C++ Reference
|
Structure for caching uniforms. More...
#include <gpu_program.h>
Public Member Functions | |
| void | cache_uniform (gpu_program *program, gfx::program::uniform_ptr &uniform, const hpp::string_view &name, gfx::uniform_type type, uint16_t num=1) |
| Caches a uniform in the GPU program. | |
Structure for caching uniforms.
Definition at line 170 of file gpu_program.h.
|
inline |
Caches a uniform in the GPU program.
| program | The GPU program. |
| uniform | The uniform to cache. |
| name | The name of the uniform. |
Definition at line 180 of file gpu_program.h.