mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 17:43:22 +00:00
25 lines
426 B
C
25 lines
426 B
C
|
|
/*
|
||
|
|
* 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&);
|
||
|
|
};
|
||
|
|
|
||
|
|
}
|