WebGLRenderingContextBase.h 478 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2024, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. namespace Web::WebGL {
  8. // FIXME: This object should inherit from Bindings::PlatformObject and implement the WebGLRenderingContextBase IDL interface.
  9. // We should make WebGL code generator to produce implementation for this interface.
  10. class WebGLRenderingContextBase {
  11. public:
  12. virtual GC::Cell const* gc_cell() const = 0;
  13. };
  14. }