Skip to content

Conversation

@wouterlucas
Copy link
Contributor

@wouterlucas wouterlucas commented Jan 15, 2026

@estobbart would need to figure out how to get the true Texture/Image dimensions from ION - should we enhance that on the createImageBitmap response or do something more specific?

@estobbart
Copy link
Collaborator

The easiest way on our side to handle this would be HTMLImageElement return, and then a 2nd call to get the WebGLTexture.
Also, psyched we have label.

@wouterlucas
Copy link
Contributor Author

wouterlucas commented Jan 19, 2026

The easiest way on our side to handle this would be HTMLImageElement return, and then a 2nd call to get the WebGLTexture. Also, psyched we have label.

You mean returning HTMLImageElement on createImageBitmap or using something else (like new Image()) ?
What would the second call be?

@estobbart
Copy link
Collaborator

I don't necessarily have specifics, only to mimic something similar to LNG2.platform.loadSrcTexture & LNG2.platform.uploadGlTexture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants