1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:47:35 +00:00

LibGL: Add Shader and Program class stubs

This commit is contained in:
Stephan Unverwerth 2022-08-28 10:36:31 +02:00 committed by Andrew Kaster
parent cd7d2c3446
commit b975569a40
5 changed files with 126 additions and 0 deletions

View file

@ -0,0 +1,28 @@
/*
* Copyright (c) 2022, Stephan Unverwerth <s.unverwerth@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibGL/Shaders/Program.h>
namespace GL {
NonnullRefPtr<Program> Program::create()
{
return adopt_ref(*new Program());
}
ErrorOr<void> Program::attach_shader(Shader&)
{
TODO();
return {};
}
ErrorOr<void> Program::link()
{
TODO();
return {};
}
}