mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
e41789f5f9
(cherry picked from commit 2b09afb971059f22a0eb82661262954211b694b9)
24 lines
421 B
C++
24 lines
421 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 WebGLShader final : public WebGLObject {
|
|
WEB_PLATFORM_OBJECT(WebGLShader, WebGLObject);
|
|
JS_DECLARE_ALLOCATOR(WebGLShader);
|
|
|
|
public:
|
|
virtual ~WebGLShader();
|
|
|
|
protected:
|
|
explicit WebGLShader(JS::Realm&);
|
|
};
|
|
|
|
}
|