mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
26 lines
540 B
C++
26 lines
540 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 WebGLFramebuffer final : public WebGLObject {
|
|
WEB_PLATFORM_OBJECT(WebGLFramebuffer, WebGLObject);
|
|
GC_DECLARE_ALLOCATOR(WebGLFramebuffer);
|
|
|
|
public:
|
|
static GC::Ptr<WebGLFramebuffer> create(JS::Realm& realm, GLuint handle);
|
|
|
|
virtual ~WebGLFramebuffer();
|
|
|
|
protected:
|
|
explicit WebGLFramebuffer(JS::Realm&, GLuint handle);
|
|
};
|
|
|
|
}
|