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_minmax
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
EXT_disjoint_timer_query
-
EXT_color_buffer_half_float
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
EXT_frag_depth
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
EXT_sRGB
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
EXT_shader_texture_lod
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
EXT_texture_filter_anisotropic
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_element_index_uint
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_standard_derivatives
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_texture_float
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_texture_float_linear
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_texture_half_float
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_texture_half_float_linear
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
OES_vertex_array_object
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_color_buffer_float
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_compressed_texture_atc
-
WEBGL_compressed_texture_astc
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_compressed_texture_etc1
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_compressed_texture_pvrtc
-
WEBGL_compressed_texture_s3tc
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_compressed_texture_s3tc_srgb
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_debug_renderer_info
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_debug_shaders
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_depth_texture
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_draw_buffers
https://github.com/JetBrains/kotlin-wrappers/issues/1769 -
WEBGL_lose_context
https://github.com/JetBrains/kotlin-wrappers/issues/1769
Add typings to these classes :
-
WebGL2RenderingContext
https://github.com/JetBrains/kotlin-wrappers/issues/1771 -
WebGLQuery
https://github.com/JetBrains/kotlin-wrappers/issues/1771 -
WebGLSampler
https://github.com/JetBrains/kotlin-wrappers/issues/1771 -
WebGLSync
https://github.com/JetBrains/kotlin-wrappers/issues/1771 -
WebGLTransformFeedback
https://github.com/JetBrains/kotlin-wrappers/issues/1771 -
WebGLVertexArrayObject
https://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
WebGLQuery
already generatedI made a mistake,
WEBGL_compressed_texture_atc
is not generated also.