mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
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 WebGLBuffer final : public WebGLObject {
|
|
WEB_PLATFORM_OBJECT(WebGLBuffer, WebGLObject);
|
|
JS_DECLARE_ALLOCATOR(WebGLBuffer);
|
|
|
|
public:
|
|
virtual ~WebGLBuffer();
|
|
|
|
protected:
|
|
explicit WebGLBuffer(JS::Realm&);
|
|
};
|
|
|
|
}
|