The raylib implementation for setting shader uniforms makes use of void * arguments which [currently] are not de-serialized from the N-API layer and to build a mechanism to marshal those safely would basically replicate the existing type evaluation logic internal to the function itself: so instead we just bypass this "helper" function and wrap the downstream method directly with type-specific methods and properly casted input parameters.
raylib
implementation for setting shader uniforms makes use ofvoid *
arguments which [currently] are not de-serialized from the N-API layer and to build a mechanism to marshal those safely would basically replicate the existing type evaluation logic internal to the function itself: so instead we just bypass this "helper" function and wrap the downstream method directly with type-specific methods and properly casted input parameters.