Add missing WebGL typings
See original GitHub issueIs 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 :
-
EXT_blend_minmaxhttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
EXT_disjoint_timer_query -
EXT_color_buffer_half_floathttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
EXT_frag_depthhttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
EXT_sRGBhttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
EXT_shader_texture_lodhttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
EXT_texture_filter_anisotropichttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_element_index_uinthttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_standard_derivativeshttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_texture_floathttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_texture_float_linearhttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_texture_half_floathttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_texture_half_float_linearhttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_vertex_array_objecthttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_color_buffer_floathttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_compressed_texture_atc -
WEBGL_compressed_texture_astchttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_compressed_texture_etc1https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_compressed_texture_pvrtc -
WEBGL_compressed_texture_s3tchttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_compressed_texture_s3tc_srgbhttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_debug_renderer_infohttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_debug_shadershttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_depth_texturehttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_draw_buffershttps://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_lose_contexthttps://github.com/JetBrains/kotlin-wrappers/issues/1769
Add typings to these classes :
-
WebGL2RenderingContexthttps://github.com/JetBrains/kotlin-wrappers/issues/1771 -
WebGLQueryhttps://github.com/JetBrains/kotlin-wrappers/issues/1771 -
WebGLSamplerhttps://github.com/JetBrains/kotlin-wrappers/issues/1771 -
WebGLSynchttps://github.com/JetBrains/kotlin-wrappers/issues/1771 -
WebGLTransformFeedbackhttps://github.com/JetBrains/kotlin-wrappers/issues/1771 -
WebGLVertexArrayObjecthttps://github.com/JetBrains/kotlin-wrappers/issues/1771
Describe alternatives you’ve considered Implement myself for my project the typings, which is what I’m doing right now.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

“converted” = “generated” (converted from TS to Kotlin) For example
WebGLQueryalready generatedI made a mistake,
WEBGL_compressed_texture_atcis not generated also.