James Chen

Results 54 comments of James Chen

bindings: [FEATURE] Support TextEncoder & TextDecoder for converting Uint8Array to String with better performance. https://github.com/cocos/cocos-engine/pull/10665 bug fixes: [FIX] Use 32 bits hash in native code to avoid precision loss when...

Currently, the unit test here https://github.com/cocos/cocos-engine/pull/12169 will fail. If change it to 4 zeros after point, it will succeed.

Math library is using 0.0001 for precision now: https://github.com/cocos/cocos-engine/pull/12610 Should not change the default precision in math::isEquals function since there're many places use it, for example in GFX module. Change...

@hana-alice suggested not to modify the default precision of `math::isEquals` since GFX code depends on the it. If we change it, we need to do lots of tests. Since all...

Problems need to be fixed: - [x] Swig doesn't support to bind Nest Class like which in binding-generator - [ ] Generate %attribute code in swig interface file according original...

```c++ class Material : public Asset { public: ...... const MaterialPropertyVariant *getProperty(const ccstd::string &name, index_t passIdx = CC_INVALID_INDEX) const; ...... }; ```c++ (1) // The correct conversion function for the...

Another solution: Compress the .cconb file in building stage, decompress it in runtime. Maybe `LZ4` is a choice. ### Pros - Don't need to rename .cconb to .bin - Don't...

@yanOO1497 Any ideas of this issue?

Need to remove the hard code in core/platform/macro.ts ```ts if (NATIVE || MINIGAME || RUNTIME_BASED) { this.CLEANUP_IMAGE_CACHE = true; } ``` and update the default value in build panel for...