question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add missing WebGL typings

See original GitHub issue

Is your feature request related to a problem? Please describe. For a project, I need multiple classes/interfaces missing from the standard library, I suggest adding them to kotlin-browser.

I require all the WEBGL_compressed_texture_* typings, there are multiple interfaces with constants in it. Also, some interfaces, and classes missing from org.khronos.webgl.

I thought about adding all the missing interfaces from WebGL, I listed them all so.

Describe the solution you’d like Add typings to these interfaces :

Add typings to these classes :

Describe alternatives you’ve considered Implement myself for my project the typings, which is what I’m doing right now.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
turanskycommented, Aug 29, 2022

“converted” = “generated” (converted from TS to Kotlin) For example WebGLQuery already generated

0reactions
Ayfricommented, Aug 30, 2022

I made a mistake, WEBGL_compressed_texture_atc is not generated also.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebGL extensions typings not available · Issue #39655
I see that a few WebGL extension typings are missing from the libdom.d.ts file: WEBGL_compressed_texture_pvrtc WEBGL_compressed_texture_etc1 ...
Read more >
Enabling WebGL on Chrome | CrossBrowserTesting ...
Enabling WebGL on Chrome · Start a Live Test using Google Chrome. · Scroll to Disable WebGL – Enabling this option prevents web...
Read more >
add typings for missing method (from a npm package)
I tried to merge the definitions from node_modules with my own declaration. declare class cropperjs { /** * Scale the image. * *...
Read more >
WebGL errors in node with tensorflow, typescript and electron
I can create the example scene from the playground and it works fine when only babylonjs is added to the dependencies (besides the...
Read more >
WebGL missing function pthread_create?
So I haven't messed with web builds very much, and am trying to port my game to a web build to determine the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found