std140 implementation

This commit is contained in:
ZY4N
2025-03-27 19:47:32 +01:00
parent 70893c083b
commit 6f60cc11c8
45 changed files with 789 additions and 234 deletions

View File

@@ -17,7 +17,7 @@ inline void shader_program_handle::unbind()
glUseProgram(0);
}
template<shader_program_variable::info_type VariableInfo, typename T>
template<shader_uniform::info_type VariableInfo, typename T>
void shader_program_handle::set_uniform(const T& value) const
{
if constexpr (std::same_as<T, glm::mat4x4>)