Files
ladybird/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.h
Shannon Booth 4178ec0af4 LibWeb/WebGL: Remove Extensions interface
No other third layer folder in LibWeb has its own namespace which
makes this a special case for the IDLGenerator when determining
namespaces. Instead of adding a special case, simply remove the
namespace.
2026-04-24 20:08:29 +02:00

31 lines
787 B
C++

/*
* Copyright (c) 2024, Andrew Kaster <andrew@ladybird.org>
* Copyright (c) 2025, Luke Wilde <luke@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/WebGL/Types.h>
#include <LibWeb/WebGL/WebGLObject.h>
namespace Web::WebGL {
class WebGLVertexArrayObjectOES : public WebGLObject {
WEB_PLATFORM_OBJECT(WebGLVertexArrayObjectOES, WebGLObject);
GC_DECLARE_ALLOCATOR(WebGLVertexArrayObjectOES);
public:
static GC::Ref<WebGLVertexArrayObjectOES> create(JS::Realm& realm, WebGLRenderingContextBase&, GLuint handle);
virtual ~WebGLVertexArrayObjectOES() override;
protected:
explicit WebGLVertexArrayObjectOES(JS::Realm&, WebGLRenderingContextBase&, GLuint handle);
virtual void initialize(JS::Realm&) override;
};
}