Closed planetis-m closed 2 years ago
related #6
actually everything in Texture is public and Font has a fromData constructor now. Closing.
Another idea is to make Texture2D distinct with field procs and a converter from Texture->Texture2D Leaving TextureCubemap an alias to Texture.
bad idea.
Examples like models/skybox and text/font_sdf can't be ported yet due to read-only *Count fields in Texture/Font. Either remove them and directly export the fields or create types TextureBase/FontBase that are public but Texture/Font are distinct.