LibWeb: Add WebGLProgram

This commit is contained in:
Jelle Raaijmakers 2024-11-13 09:59:10 +01:00 committed by Andreas Kling
commit 6b7d5dbec6
Notes: github-actions[bot] 2024-11-13 10:43:23 +00:00
7 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,24 @@
/*
* Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/WebGL/WebGLObject.h>
namespace Web::WebGL {
class WebGLProgram final : public WebGLObject {
WEB_PLATFORM_OBJECT(WebGLProgram, WebGLObject);
JS_DECLARE_ALLOCATOR(WebGLProgram);
public:
virtual ~WebGLProgram();
protected:
explicit WebGLProgram(JS::Realm&);
};
}