/* * Copyright (c) 2024, Jelle Raaijmakers * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::WebGL { class WebGLBuffer final : public WebGLObject { WEB_PLATFORM_OBJECT(WebGLBuffer, WebGLObject); GC_DECLARE_ALLOCATOR(WebGLBuffer); public: virtual ~WebGLBuffer(); protected: explicit WebGLBuffer(JS::Realm&); }; }