BabylonNative icon indicating copy to clipboard operation
BabylonNative copied to clipboard

Update the engine features with the right value

Open Popov72 opened this issue 5 years ago • 1 comments

From an email sent to Gary:

I forgot to say when merging the WebGPU changes to the master branch that I added a new EngineFeature property to the engine, which basically replaces all the occurrences of engine.webGLVersion that were used for testing purposes by a test in the feature property. For the time being, all the features are false for native engine as I didn't know what the right value would be.

So, that's something you (or someone else in the Native team) will need to update to match the capabilities of the engine. There's a comment for each capability in the engineFeatures.ts file, but feel tree to ask me if something is not clear.

Popov72 avatar Dec 22 '20 08:12 Popov72

This is to correctly set the engine._caps from the native side.

bghgary avatar Apr 21 '22 18:04 bghgary