/* * Copyright (c) 2025, Undefine * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::WebGL { class OESStandardDerivatives : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(OESStandardDerivatives, Bindings::PlatformObject); GC_DECLARE_ALLOCATOR(OESStandardDerivatives); public: static JS::ThrowCompletionOr> create(JS::Realm&, GC::Ref); protected: void initialize(JS::Realm&) override; void visit_edges(Visitor&) override; private: OESStandardDerivatives(JS::Realm&, GC::Ref); GC::Ref m_context; }; }