/* * Copyright (c) 2025, Undefine * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include #include #include namespace Web::WebGL::Extensions { GC_DEFINE_ALLOCATOR(OESElementIndexUint); JS::ThrowCompletionOr> OESElementIndexUint::create(JS::Realm& realm, GC::Ref context) { return realm.create(realm, context); } OESElementIndexUint::OESElementIndexUint(JS::Realm& realm, GC::Ref context) : PlatformObject(realm) , m_context(context) { } void OESElementIndexUint::initialize(JS::Realm& realm) { WEB_SET_PROTOTYPE_FOR_INTERFACE(OESElementIndexUint); Base::initialize(realm); } void OESElementIndexUint::visit_edges(Visitor& visitor) { Base::visit_edges(visitor); visitor.visit(m_context); } }