Files
serenity/Userland/Libraries/LibWeb/WebGL/WebGLProgram.h
Jelle Raaijmakers 8e05ba45d0 LibWeb: Add WebGLProgram
(cherry picked from commit 6b7d5dbec6a9daf1033ee2e8c4c48037ccd35360)
2024-11-13 19:32:27 -05:00

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&);
};
}