@aguacerowx/react-native 0.0.37 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/README.md +126 -126
  2. package/aguacerowx-react-native.podspec +38 -38
  3. package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
  4. package/android/build.gradle +107 -107
  5. package/android/src/main/AndroidManifest.xml +6 -6
  6. package/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  7. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +688 -688
  8. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +304 -304
  9. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +125 -125
  10. package/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
  11. package/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  12. package/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
  13. package/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  14. package/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  15. package/android/src/main/res/raw/fragment_shader.glsl +180 -180
  16. package/android/src/main/res/raw/vertex_shader.glsl +19 -19
  17. package/index.js +2 -2
  18. package/ios/AguaceroPackage.m +18 -18
  19. package/ios/FragmentUniforms.swift +15 -15
  20. package/ios/GridRenderLayer.swift +1115 -1137
  21. package/ios/GridRenderLayerBridge.swift +44 -44
  22. package/ios/GridRenderLayerManager.mm +171 -157
  23. package/ios/GridRenderLayerView.h +30 -30
  24. package/ios/GridRenderLayerView.m +200 -200
  25. package/ios/InspectorDataCache.swift +63 -65
  26. package/ios/InspectorModule.m +9 -9
  27. package/ios/InspectorModule.swift +112 -63
  28. package/ios/Shaders.metal +319 -319
  29. package/ios/WeatherFrameProcessorModule.m +15 -15
  30. package/ios/WeatherFrameProcessorModule.swift +152 -103
  31. package/lib/commonjs/README.md +126 -126
  32. package/lib/commonjs/aguacerowx-react-native.podspec +38 -38
  33. package/lib/commonjs/android/build.gradle +107 -107
  34. package/lib/commonjs/android/src/main/AndroidManifest.xml +6 -6
  35. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  36. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +688 -688
  37. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +304 -304
  38. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +125 -125
  39. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
  40. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  41. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
  42. package/lib/commonjs/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  43. package/lib/commonjs/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  44. package/lib/commonjs/android/src/main/res/raw/fragment_shader.glsl +180 -180
  45. package/lib/commonjs/android/src/main/res/raw/vertex_shader.glsl +19 -19
  46. package/lib/commonjs/babel.config.js.map +1 -1
  47. package/lib/commonjs/index.js.map +1 -1
  48. package/lib/commonjs/ios/AguaceroPackage.m +18 -18
  49. package/lib/commonjs/ios/FragmentUniforms.swift +15 -15
  50. package/lib/commonjs/ios/GridRenderLayer.swift +1115 -1137
  51. package/lib/commonjs/ios/GridRenderLayerBridge.swift +44 -44
  52. package/lib/commonjs/ios/GridRenderLayerManager.mm +171 -157
  53. package/lib/commonjs/ios/GridRenderLayerView.h +30 -30
  54. package/lib/commonjs/ios/GridRenderLayerView.m +200 -200
  55. package/lib/commonjs/ios/InspectorDataCache.swift +63 -65
  56. package/lib/commonjs/ios/InspectorModule.m +9 -9
  57. package/lib/commonjs/ios/InspectorModule.swift +112 -63
  58. package/lib/commonjs/ios/Shaders.metal +319 -319
  59. package/lib/commonjs/ios/WeatherFrameProcessorModule.m +15 -15
  60. package/lib/commonjs/ios/WeatherFrameProcessorModule.swift +152 -103
  61. package/lib/commonjs/package.json +72 -72
  62. package/lib/commonjs/react-native-builder-bob.config.js.map +1 -1
  63. package/lib/commonjs/scripts/compile-shaders.js.map +1 -1
  64. package/lib/commonjs/scripts/compile-shaders.sh +38 -38
  65. package/lib/commonjs/src/AguaceroContext.js.map +1 -1
  66. package/lib/commonjs/src/GridRenderLayer.js.map +1 -1
  67. package/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -1
  68. package/lib/commonjs/src/MapManager.js.map +1 -1
  69. package/lib/commonjs/src/MapRegistry.js.map +1 -1
  70. package/lib/commonjs/src/StyleApplicator.js +6 -6
  71. package/lib/commonjs/src/StyleApplicator.js.map +1 -1
  72. package/lib/commonjs/src/WeatherLayerManager.js +38 -3
  73. package/lib/commonjs/src/WeatherLayerManager.js.map +1 -1
  74. package/lib/commonjs/tsconfig.json +23 -23
  75. package/lib/module/README.md +126 -126
  76. package/lib/module/aguacerowx-react-native.podspec +38 -38
  77. package/lib/module/android/build.gradle +107 -107
  78. package/lib/module/android/src/main/AndroidManifest.xml +6 -6
  79. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  80. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +688 -688
  81. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +304 -304
  82. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +125 -125
  83. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
  84. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  85. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
  86. package/lib/module/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  87. package/lib/module/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  88. package/lib/module/android/src/main/res/raw/fragment_shader.glsl +180 -180
  89. package/lib/module/android/src/main/res/raw/vertex_shader.glsl +19 -19
  90. package/lib/module/babel.config.js.map +1 -1
  91. package/lib/module/index.js.map +1 -1
  92. package/lib/module/ios/AguaceroPackage.m +18 -18
  93. package/lib/module/ios/FragmentUniforms.swift +15 -15
  94. package/lib/module/ios/GridRenderLayer.swift +1115 -1137
  95. package/lib/module/ios/GridRenderLayerBridge.swift +44 -44
  96. package/lib/module/ios/GridRenderLayerManager.mm +171 -157
  97. package/lib/module/ios/GridRenderLayerView.h +30 -30
  98. package/lib/module/ios/GridRenderLayerView.m +200 -200
  99. package/lib/module/ios/InspectorDataCache.swift +63 -65
  100. package/lib/module/ios/InspectorModule.m +9 -9
  101. package/lib/module/ios/InspectorModule.swift +112 -63
  102. package/lib/module/ios/Shaders.metal +319 -319
  103. package/lib/module/ios/WeatherFrameProcessorModule.m +15 -15
  104. package/lib/module/ios/WeatherFrameProcessorModule.swift +152 -103
  105. package/lib/module/lib/commonjs/README.md +126 -126
  106. package/lib/module/lib/commonjs/aguacerowx-react-native.podspec +38 -38
  107. package/lib/module/lib/commonjs/babel.config.js.map +1 -1
  108. package/lib/module/lib/commonjs/index.js.map +1 -1
  109. package/lib/module/lib/commonjs/ios/GridRenderLayerBridge.swift +44 -44
  110. package/lib/module/lib/commonjs/ios/GridRenderLayerManager.mm +171 -157
  111. package/lib/module/lib/commonjs/ios/GridRenderLayerView.h +30 -30
  112. package/lib/module/lib/commonjs/ios/GridRenderLayerView.m +200 -200
  113. package/lib/module/lib/commonjs/ios/InspectorDataCache.swift +63 -65
  114. package/lib/module/lib/commonjs/ios/InspectorModule.m +9 -9
  115. package/lib/module/lib/commonjs/ios/InspectorModule.swift +112 -63
  116. package/lib/module/lib/commonjs/ios/Shaders.metal +319 -319
  117. package/lib/module/lib/commonjs/ios/WeatherFrameProcessorModule.m +15 -15
  118. package/lib/module/lib/commonjs/ios/WeatherFrameProcessorModule.swift +152 -103
  119. package/lib/module/lib/commonjs/package.json +72 -72
  120. package/lib/module/lib/commonjs/react-native-builder-bob.config.js.map +1 -1
  121. package/lib/module/lib/commonjs/scripts/compile-shaders.js.map +1 -1
  122. package/lib/module/lib/commonjs/scripts/compile-shaders.sh +38 -38
  123. package/lib/module/lib/commonjs/src/AguaceroContext.js.map +1 -1
  124. package/lib/module/lib/commonjs/src/GridRenderLayer.js.map +1 -1
  125. package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -1
  126. package/lib/module/lib/commonjs/src/MapManager.js.map +1 -1
  127. package/lib/module/lib/commonjs/src/MapRegistry.js.map +1 -1
  128. package/lib/module/lib/commonjs/src/StyleApplicator.js +6 -6
  129. package/lib/module/lib/commonjs/src/StyleApplicator.js.map +1 -1
  130. package/lib/module/lib/commonjs/src/WeatherLayerManager.js +38 -3
  131. package/lib/module/lib/commonjs/src/WeatherLayerManager.js.map +1 -1
  132. package/lib/module/lib/commonjs/tsconfig.json +23 -23
  133. package/lib/module/package.json +72 -72
  134. package/lib/module/react-native-builder-bob.config.js.map +1 -1
  135. package/lib/module/scripts/compile-shaders.js.map +1 -1
  136. package/lib/module/scripts/compile-shaders.sh +38 -38
  137. package/lib/module/src/AguaceroContext.js.map +1 -1
  138. package/lib/module/src/GridRenderLayer.js.map +1 -1
  139. package/lib/module/src/GridRenderLayerNativeComponent.js.map +1 -1
  140. package/lib/module/src/MapManager.js.map +1 -1
  141. package/lib/module/src/MapRegistry.js.map +1 -1
  142. package/lib/module/src/StyleApplicator.js +6 -6
  143. package/lib/module/src/StyleApplicator.js.map +1 -1
  144. package/lib/module/src/WeatherLayerManager.js +39 -3
  145. package/lib/module/src/WeatherLayerManager.js.map +1 -1
  146. package/lib/module/tsconfig.json +23 -23
  147. package/lib/typescript/src/WeatherLayerManager.d.ts.map +1 -1
  148. package/package.json +72 -72
  149. package/src/AguaceroContext.js +3 -3
  150. package/src/GridRenderLayer.js +215 -215
  151. package/src/GridRenderLayerNativeComponent.ts +15 -15
  152. package/src/MapManager.js +218 -218
  153. package/src/MapRegistry.js +34 -34
  154. package/src/StyleApplicator.js +240 -240
  155. package/src/WeatherLayerManager.js +1207 -1167
  156. package/android/build/.transforms/42e9b8fa82d77a1c205db5bf0d0ed519/results.bin +0 -1
  157. package/android/build/.transforms/42e9b8fa82d77a1c205db5bf0d0ed519/transformed/classes/classes_dex/classes.dex +0 -0
  158. package/android/build/.transforms/8f329a9571a96a1c1c0869d49784e448/results.bin +0 -1
  159. package/android/build/.transforms/8f329a9571a96a1c1c0869d49784e448/transformed/classes/classes_dex/classes.dex +0 -0
  160. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/results.bin +0 -1
  161. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/AguaceroPackage.dex +0 -0
  162. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/BuildConfig.dex +0 -0
  163. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.dex +0 -0
  164. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer.dex +0 -0
  165. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayerView.dex +0 -0
  166. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderManager.dex +0 -0
  167. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/InspectorModule.dex +0 -0
  168. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/ShaderUtils.dex +0 -0
  169. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/WeatherFrameProcessorModule.dex +0 -0
  170. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.dex +0 -0
  171. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.dex +0 -0
  172. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  173. package/android/build/.transforms/f95abdfc98a7a06fc247f75cdd74def9/results.bin +0 -1
  174. package/android/build/.transforms/f95abdfc98a7a06fc247f75cdd74def9/transformed/classes/classes_dex/classes.dex +0 -0
  175. package/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
  176. package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -43
  177. package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -22
  178. package/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec-generated.cpp +0 -22
  179. package/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec.h +0 -24
  180. package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
  181. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI-generated.cpp +0 -17
  182. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI.h +0 -19
  183. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.cpp +0 -22
  184. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.h +0 -24
  185. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.cpp +0 -16
  186. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.h +0 -23
  187. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.cpp +0 -62
  188. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.h +0 -40
  189. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.cpp +0 -17
  190. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.h +0 -32
  191. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.cpp +0 -16
  192. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.h +0 -20
  193. package/android/build/generated/source/codegen/schema.json +0 -1
  194. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
  195. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  196. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  197. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  198. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  199. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  200. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
  201. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  202. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  203. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  204. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  205. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
  206. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  207. package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
  208. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  209. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  210. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  211. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  212. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  213. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  214. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  215. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  216. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  217. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  218. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  219. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  220. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  221. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
  222. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
  223. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
  224. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  225. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  226. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
  227. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
  228. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -181
  229. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
  230. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  231. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  232. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  233. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  234. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  235. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  236. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  237. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  238. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  239. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  240. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  241. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  242. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
  243. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  244. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId0 +0 -0
  245. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId1 +0 -0
  246. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  247. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  248. package/lib/commonjs/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
  249. package/lib/commonjs/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -43
  250. package/lib/commonjs/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -22
  251. package/lib/commonjs/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec-generated.cpp +0 -22
  252. package/lib/commonjs/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec.h +0 -24
  253. package/lib/commonjs/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
  254. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI-generated.cpp +0 -17
  255. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI.h +0 -19
  256. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.cpp +0 -22
  257. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.h +0 -24
  258. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.cpp +0 -16
  259. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.h +0 -23
  260. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.cpp +0 -62
  261. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.h +0 -40
  262. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.cpp +0 -17
  263. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.h +0 -32
  264. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.cpp +0 -16
  265. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.h +0 -20
  266. package/lib/commonjs/android/build/generated/source/codegen/schema.json +0 -1
  267. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
  268. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  269. package/lib/commonjs/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  270. package/lib/commonjs/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  271. package/lib/commonjs/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  272. package/lib/commonjs/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  273. package/lib/commonjs/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
  274. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  275. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  276. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  277. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  278. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
  279. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  280. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
  281. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  282. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  283. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  284. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  285. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  286. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  287. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  288. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  289. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  290. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  291. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  292. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  293. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  294. package/lib/commonjs/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
  295. package/lib/commonjs/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
  296. package/lib/commonjs/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
  297. package/lib/commonjs/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  298. package/lib/commonjs/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  299. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
  300. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
  301. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -181
  302. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
  303. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  304. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  305. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  306. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  307. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  308. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  309. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  310. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  311. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  312. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  313. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  314. package/lib/commonjs/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  315. package/lib/commonjs/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
  316. package/lib/commonjs/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  317. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId0 +0 -0
  318. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId1 +0 -0
  319. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  320. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  321. package/lib/module/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
  322. package/lib/module/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -43
  323. package/lib/module/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -22
  324. package/lib/module/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec-generated.cpp +0 -22
  325. package/lib/module/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec.h +0 -24
  326. package/lib/module/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
  327. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI-generated.cpp +0 -17
  328. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI.h +0 -19
  329. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.cpp +0 -22
  330. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.h +0 -24
  331. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.cpp +0 -16
  332. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.h +0 -23
  333. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.cpp +0 -62
  334. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.h +0 -40
  335. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.cpp +0 -17
  336. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.h +0 -32
  337. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.cpp +0 -16
  338. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.h +0 -20
  339. package/lib/module/android/build/generated/source/codegen/schema.json +0 -1
  340. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
  341. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  342. package/lib/module/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  343. package/lib/module/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  344. package/lib/module/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  345. package/lib/module/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  346. package/lib/module/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
  347. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  348. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  349. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  350. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  351. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
  352. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  353. package/lib/module/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
  354. package/lib/module/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  355. package/lib/module/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  356. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  357. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  358. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  359. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  360. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  361. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  362. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  363. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  364. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  365. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  366. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  367. package/lib/module/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
  368. package/lib/module/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
  369. package/lib/module/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
  370. package/lib/module/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  371. package/lib/module/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  372. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
  373. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
  374. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -181
  375. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
  376. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  377. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  378. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  379. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  380. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  381. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  382. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  383. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  384. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  385. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  386. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  387. package/lib/module/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  388. package/lib/module/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
  389. package/lib/module/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  390. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId0 +0 -0
  391. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId1 +0 -0
  392. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  393. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  394. package/lib/module/lib/commonjs/android/build.gradle +0 -108
  395. package/lib/module/lib/commonjs/android/src/main/AndroidManifest.xml +0 -7
  396. package/lib/module/lib/commonjs/ios/AguaceroPackage.m +0 -19
  397. package/lib/module/lib/commonjs/ios/FragmentUniforms.swift +0 -16
  398. package/lib/module/lib/commonjs/ios/GridRenderLayer.swift +0 -1137
  399. package/lib/module/lib/commonjs/ios/compiled-shaders/Shaders-device.metallib +0 -0
  400. package/lib/module/lib/commonjs/ios/compiled-shaders/Shaders-simulator.metallib +0 -0
  401. package/lib/module/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec-generated.mm +0 -0
  402. package/lib/module/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec.h +0 -0
@@ -1,320 +1,320 @@
1
- #include <metal_stdlib>
2
- using namespace metal;
3
-
4
- // Struct to match the vertex buffer layout in Swift
5
- struct Vertex {
6
- float2 position [[attribute(0)]];
7
- float2 texCoord [[attribute(1)]];
8
- };
9
-
10
- // Struct for passing data from vertex to fragment shader
11
- struct RasterizerData {
12
- float4 position [[position]];
13
- float2 texCoord;
14
- };
15
-
16
- // Uniforms passed from the CPU to the fragment shader
17
- struct FragmentUniforms {
18
- float opacity;
19
- float2 dataRange;
20
- float scale;
21
- float offset;
22
- float missingQuantized;
23
- float2 textureSize;
24
- int smoothing;
25
- int scaleType;
26
- int isPtype;
27
- int isMRMS;
28
- };
29
-
30
- // --- Vertex Shader (Unchanged) ---
31
- vertex RasterizerData vertex_main(const Vertex in [[stage_in]],
32
- constant float4x4 &mvp [[buffer(1)]]) {
33
- RasterizerData out;
34
- out.position = mvp * float4(in.position, 0.0, 1.0);
35
- out.texCoord = in.texCoord;
36
- return out;
37
- }
38
-
39
-
40
- // --- HELPER FUNCTIONS FOR FRAGMENT SHADER ---
41
-
42
- // Dequantizes a signed value (-127 to 127) into a physical value
43
- float dequantize_val(float q_val, constant FragmentUniforms &uniforms) {
44
- if (abs(q_val - uniforms.missingQuantized) < 0.5) {
45
- return -9999.0;
46
- }
47
- float intermediate = q_val * uniforms.scale + uniforms.offset;
48
- if (uniforms.scaleType == 1) { // 1 = sqrt
49
- return intermediate * abs(intermediate);
50
- }
51
- return intermediate;
52
- }
53
-
54
- // Samples texture, converts 0-255 to signed -128-127 range.
55
- // Returns a quantized value, or a large positive sentinel for missing data.
56
- float get_value(texture2d<float, access::sample> dataTexture, sampler dataSampler, float2 coord, constant FragmentUniforms &uniforms) {
57
- // Note: The sampler should be set to 'nearest' when calling this for ptype logic.
58
- float value_0_to_255 = dataTexture.sample(dataSampler, coord).r * 255.0;
59
- float val = value_0_to_255 - 128.0;
60
- float missing_in_texture_range_0_255 = uniforms.missingQuantized + 128.0;
61
- if (abs(value_0_to_255 - missing_in_texture_range_0_255) < 0.5) {
62
- return 99999.0; // Sentinel for "missing"
63
- }
64
- return val;
65
- }
66
-
67
- // Maps a physical value to a precipitation type category
68
- // Maps a physical value to a precipitation type category
69
- float get_ptype_from_physical(float val, constant FragmentUniforms &uniforms) { // ADD uniforms parameter
70
- if (val < 0.0) return -1.0;
71
-
72
- // Models: 0-100 rain, 100-200 snow, 200-300 freezing rain, 300-400 ice pellets
73
- if (val < 100.0) return 0.0;
74
- if (val < 200.0) return 1.0;
75
- if (val < 300.0) return 2.0;
76
- if (val < 400.0) return 3.0;
77
- return -1.0;
78
- }
79
-
80
- // --- Main Fragment Shader ---
81
- fragment float4 fragment_main(RasterizerData in [[stage_in]],
82
- constant FragmentUniforms &uniforms [[buffer(0)]],
83
- texture2d<float, access::sample> dataTexture [[texture(0)]],
84
- texture2d<float, access::sample> colormapTexture [[texture(1)]],
85
- sampler dataSampler [[sampler(0)]],
86
- sampler colormapSampler [[sampler(1)]])
87
- {
88
- float raw_value;
89
- float alpha_multiplier = 1.0; // Used for alpha feathering at data edges
90
-
91
- if (uniforms.smoothing == 0) { // Nearest neighbor
92
- float quantized_value = get_value(dataTexture, dataSampler, in.texCoord, uniforms);
93
- if (quantized_value >= 99999.0) {
94
- discard_fragment();
95
- }
96
- raw_value = dequantize_val(quantized_value, uniforms);
97
-
98
- } else { // Bilinear interpolation
99
- float2 texel_size = 1.0 / uniforms.textureSize;
100
- float2 tex_coord_in_texels = in.texCoord * uniforms.textureSize;
101
- float2 bl_texel_index = floor(tex_coord_in_texels - 0.5);
102
- float2 f = fract(tex_coord_in_texels - 0.5); // Interpolation factors
103
-
104
- // Coordinates of the 4 neighboring texels
105
- float2 v00_coord = (bl_texel_index + float2(0.5, 0.5)) * texel_size;
106
- float2 v10_coord = (bl_texel_index + float2(1.5, 0.5)) * texel_size;
107
- float2 v01_coord = (bl_texel_index + float2(0.5, 1.5)) * texel_size;
108
- float2 v11_coord = (bl_texel_index + float2(1.5, 1.5)) * texel_size;
109
-
110
- if (uniforms.isPtype == 1) {
111
- // --- ENHANCED PTYPE-SPECIFIC INTERPOLATION ---
112
- float v00 = dequantize_val(get_value(dataTexture, dataSampler, v00_coord, uniforms), uniforms);
113
- float v10 = dequantize_val(get_value(dataTexture, dataSampler, v10_coord, uniforms), uniforms);
114
- float v01 = dequantize_val(get_value(dataTexture, dataSampler, v01_coord, uniforms), uniforms);
115
- float v11 = dequantize_val(get_value(dataTexture, dataSampler, v11_coord, uniforms), uniforms);
116
-
117
- float p00 = get_ptype_from_physical(v00, uniforms);
118
- float p10 = get_ptype_from_physical(v10, uniforms);
119
- float p01 = get_ptype_from_physical(v01, uniforms);
120
- float p11 = get_ptype_from_physical(v11, uniforms);
121
-
122
- // Count unique valid precipitation types
123
- bool has_type_0 = false;
124
- bool has_type_1 = false;
125
- bool has_type_2 = false;
126
- bool has_type_3 = false;
127
- int valid_count = 0;
128
-
129
- if (p00 >= 0.0) {
130
- int ptype = int(p00);
131
- if (ptype == 0) has_type_0 = true;
132
- else if (ptype == 1) has_type_1 = true;
133
- else if (ptype == 2) has_type_2 = true;
134
- else if (ptype == 3) has_type_3 = true;
135
- valid_count++;
136
- }
137
- if (p10 >= 0.0) {
138
- int ptype = int(p10);
139
- if (ptype == 0) has_type_0 = true;
140
- else if (ptype == 1) has_type_1 = true;
141
- else if (ptype == 2) has_type_2 = true;
142
- else if (ptype == 3) has_type_3 = true;
143
- valid_count++;
144
- }
145
- if (p01 >= 0.0) {
146
- int ptype = int(p01);
147
- if (ptype == 0) has_type_0 = true;
148
- else if (ptype == 1) has_type_1 = true;
149
- else if (ptype == 2) has_type_2 = true;
150
- else if (ptype == 3) has_type_3 = true;
151
- valid_count++;
152
- }
153
- if (p11 >= 0.0) {
154
- int ptype = int(p11);
155
- if (ptype == 0) has_type_0 = true;
156
- else if (ptype == 1) has_type_1 = true;
157
- else if (ptype == 2) has_type_2 = true;
158
- else if (ptype == 3) has_type_3 = true;
159
- valid_count++;
160
- }
161
-
162
- if (valid_count == 0) discard_fragment();
163
-
164
- // Count how many unique types we have
165
- int unique_types = 0;
166
- if (has_type_0) unique_types++;
167
- if (has_type_1) unique_types++;
168
- if (has_type_2) unique_types++;
169
- if (has_type_3) unique_types++;
170
-
171
- if (unique_types == 1) {
172
- // ALL SAME TYPE - smooth interpolation across all valid pixels
173
- float total_value = 0.0;
174
- float total_weight = 0.0;
175
-
176
- if (p00 >= 0.0) {
177
- float weight = (1.0 - f.x) * (1.0 - f.y);
178
- total_value += v00 * weight;
179
- total_weight += weight;
180
- }
181
- if (p10 >= 0.0) {
182
- float weight = f.x * (1.0 - f.y);
183
- total_value += v10 * weight;
184
- total_weight += weight;
185
- }
186
- if (p01 >= 0.0) {
187
- float weight = (1.0 - f.x) * f.y;
188
- total_value += v01 * weight;
189
- total_weight += weight;
190
- }
191
- if (p11 >= 0.0) {
192
- float weight = f.x * f.y;
193
- total_value += v11 * weight;
194
- total_weight += weight;
195
- }
196
-
197
- if (total_weight <= 0.0) discard_fragment();
198
- raw_value = total_value / total_weight;
199
-
200
- } else {
201
- // MULTIPLE TYPES - weighted voting to determine dominant type
202
- float type_weight_0 = 0.0;
203
- float type_weight_1 = 0.0;
204
- float type_weight_2 = 0.0;
205
- float type_weight_3 = 0.0;
206
-
207
- if (p00 >= 0.0) {
208
- float w = (1.0 - f.x) * (1.0 - f.y);
209
- int ptype = int(p00);
210
- if (ptype == 0) type_weight_0 += w;
211
- else if (ptype == 1) type_weight_1 += w;
212
- else if (ptype == 2) type_weight_2 += w;
213
- else if (ptype == 3) type_weight_3 += w;
214
- }
215
- if (p10 >= 0.0) {
216
- float w = f.x * (1.0 - f.y);
217
- int ptype = int(p10);
218
- if (ptype == 0) type_weight_0 += w;
219
- else if (ptype == 1) type_weight_1 += w;
220
- else if (ptype == 2) type_weight_2 += w;
221
- else if (ptype == 3) type_weight_3 += w;
222
- }
223
- if (p01 >= 0.0) {
224
- float w = (1.0 - f.x) * f.y;
225
- int ptype = int(p01);
226
- if (ptype == 0) type_weight_0 += w;
227
- else if (ptype == 1) type_weight_1 += w;
228
- else if (ptype == 2) type_weight_2 += w;
229
- else if (ptype == 3) type_weight_3 += w;
230
- }
231
- if (p11 >= 0.0) {
232
- float w = f.x * f.y;
233
- int ptype = int(p11);
234
- if (ptype == 0) type_weight_0 += w;
235
- else if (ptype == 1) type_weight_1 += w;
236
- else if (ptype == 2) type_weight_2 += w;
237
- else if (ptype == 3) type_weight_3 += w;
238
- }
239
-
240
- // Find the type with the highest weight at this pixel location
241
- float max_type_weight = 0.0;
242
- float winning_type = -1.0;
243
- if (type_weight_0 > max_type_weight) { max_type_weight = type_weight_0; winning_type = 0.0; }
244
- if (type_weight_1 > max_type_weight) { max_type_weight = type_weight_1; winning_type = 1.0; }
245
- if (type_weight_2 > max_type_weight) { max_type_weight = type_weight_2; winning_type = 2.0; }
246
- if (type_weight_3 > max_type_weight) { max_type_weight = type_weight_3; winning_type = 3.0; }
247
-
248
- if (winning_type == -1.0) discard_fragment();
249
-
250
- // Now smoothly interpolate only among pixels of the winning type
251
- float total_value = 0.0;
252
- float total_weight = 0.0;
253
-
254
- if (p00 == winning_type) {
255
- float weight = (1.0 - f.x) * (1.0 - f.y);
256
- total_value += v00 * weight;
257
- total_weight += weight;
258
- }
259
- if (p10 == winning_type) {
260
- float weight = f.x * (1.0 - f.y);
261
- total_value += v10 * weight;
262
- total_weight += weight;
263
- }
264
- if (p01 == winning_type) {
265
- float weight = (1.0 - f.x) * f.y;
266
- total_value += v01 * weight;
267
- total_weight += weight;
268
- }
269
- if (p11 == winning_type) {
270
- float weight = f.x * f.y;
271
- total_value += v11 * weight;
272
- total_weight += weight;
273
- }
274
-
275
- if (total_weight <= 0.0) discard_fragment();
276
- raw_value = total_value / total_weight;
277
- }
278
-
279
- // Force full alpha to prevent dark borders between ptype regions
280
- alpha_multiplier = 1.0;
281
-
282
- } else {
283
- // --- STANDARD INTERPOLATION (CONTINUOUS) ---
284
- float v00_q = get_value(dataTexture, dataSampler, v00_coord, uniforms);
285
- float v10_q = get_value(dataTexture, dataSampler, v10_coord, uniforms);
286
- float v01_q = get_value(dataTexture, dataSampler, v01_coord, uniforms);
287
- float v11_q = get_value(dataTexture, dataSampler, v11_coord, uniforms);
288
-
289
- float total_value_q = 0.0;
290
- float total_weight = 0.0;
291
- if (v00_q < 99999.0) { float w = (1.0-f.x)*(1.0-f.y); total_value_q+=v00_q*w; total_weight+=w; }
292
- if (v10_q < 99999.0) { float w = f.x*(1.0-f.y); total_value_q+=v10_q*w; total_weight+=w; }
293
- if (v01_q < 99999.0) { float w = (1.0-f.x)*f.y; total_value_q+=v01_q*w; total_weight+=w; }
294
- if (v11_q < 99999.0) { float w = f.x*f.y; total_value_q+=v11_q*w; total_weight+=w; }
295
-
296
- if (total_weight <= 0.0) discard_fragment();
297
- raw_value = dequantize_val(total_value_q / total_weight, uniforms);
298
- alpha_multiplier = total_weight; // Feather the edges of the data
299
- }
300
- }
301
-
302
- // --- COMMON FINAL STEPS ---
303
-
304
- if (raw_value < uniforms.dataRange.x) {
305
- discard_fragment();
306
- }
307
-
308
- float colormap_coord = (raw_value - uniforms.dataRange.x) / (uniforms.dataRange.y - uniforms.dataRange.x);
309
- colormap_coord = clamp(colormap_coord, 0.0, 1.0);
310
-
311
- float4 color = colormapTexture.sample(colormapSampler, float2(colormap_coord, 0.5));
312
-
313
- // Discard if the colormap specifies transparency
314
- if (color.a < 0.1) {
315
- discard_fragment();
316
- }
317
-
318
- float final_alpha = color.a * uniforms.opacity * alpha_multiplier;
319
- return float4(color.rgb * final_alpha, final_alpha);
1
+ #include <metal_stdlib>
2
+ using namespace metal;
3
+
4
+ // Struct to match the vertex buffer layout in Swift
5
+ struct Vertex {
6
+ float2 position [[attribute(0)]];
7
+ float2 texCoord [[attribute(1)]];
8
+ };
9
+
10
+ // Struct for passing data from vertex to fragment shader
11
+ struct RasterizerData {
12
+ float4 position [[position]];
13
+ float2 texCoord;
14
+ };
15
+
16
+ // Uniforms passed from the CPU to the fragment shader
17
+ struct FragmentUniforms {
18
+ float opacity;
19
+ float2 dataRange;
20
+ float scale;
21
+ float offset;
22
+ float missingQuantized;
23
+ float2 textureSize;
24
+ int smoothing;
25
+ int scaleType;
26
+ int isPtype;
27
+ int isMRMS;
28
+ };
29
+
30
+ // --- Vertex Shader (Unchanged) ---
31
+ vertex RasterizerData vertex_main(const Vertex in [[stage_in]],
32
+ constant float4x4 &mvp [[buffer(1)]]) {
33
+ RasterizerData out;
34
+ out.position = mvp * float4(in.position, 0.0, 1.0);
35
+ out.texCoord = in.texCoord;
36
+ return out;
37
+ }
38
+
39
+
40
+ // --- HELPER FUNCTIONS FOR FRAGMENT SHADER ---
41
+
42
+ // Dequantizes a signed value (-127 to 127) into a physical value
43
+ float dequantize_val(float q_val, constant FragmentUniforms &uniforms) {
44
+ if (abs(q_val - uniforms.missingQuantized) < 0.5) {
45
+ return -9999.0;
46
+ }
47
+ float intermediate = q_val * uniforms.scale + uniforms.offset;
48
+ if (uniforms.scaleType == 1) { // 1 = sqrt
49
+ return intermediate * abs(intermediate);
50
+ }
51
+ return intermediate;
52
+ }
53
+
54
+ // Samples texture, converts 0-255 to signed -128-127 range.
55
+ // Returns a quantized value, or a large positive sentinel for missing data.
56
+ float get_value(texture2d<float, access::sample> dataTexture, sampler dataSampler, float2 coord, constant FragmentUniforms &uniforms) {
57
+ // Note: The sampler should be set to 'nearest' when calling this for ptype logic.
58
+ float value_0_to_255 = dataTexture.sample(dataSampler, coord).r * 255.0;
59
+ float val = value_0_to_255 - 128.0;
60
+ float missing_in_texture_range_0_255 = uniforms.missingQuantized + 128.0;
61
+ if (abs(value_0_to_255 - missing_in_texture_range_0_255) < 0.5) {
62
+ return 99999.0; // Sentinel for "missing"
63
+ }
64
+ return val;
65
+ }
66
+
67
+ // Maps a physical value to a precipitation type category
68
+ // Maps a physical value to a precipitation type category
69
+ float get_ptype_from_physical(float val, constant FragmentUniforms &uniforms) { // ADD uniforms parameter
70
+ if (val < 0.0) return -1.0;
71
+
72
+ // Models: 0-100 rain, 100-200 snow, 200-300 freezing rain, 300-400 ice pellets
73
+ if (val < 100.0) return 0.0;
74
+ if (val < 200.0) return 1.0;
75
+ if (val < 300.0) return 2.0;
76
+ if (val < 400.0) return 3.0;
77
+ return -1.0;
78
+ }
79
+
80
+ // --- Main Fragment Shader ---
81
+ fragment float4 fragment_main(RasterizerData in [[stage_in]],
82
+ constant FragmentUniforms &uniforms [[buffer(0)]],
83
+ texture2d<float, access::sample> dataTexture [[texture(0)]],
84
+ texture2d<float, access::sample> colormapTexture [[texture(1)]],
85
+ sampler dataSampler [[sampler(0)]],
86
+ sampler colormapSampler [[sampler(1)]])
87
+ {
88
+ float raw_value;
89
+ float alpha_multiplier = 1.0; // Used for alpha feathering at data edges
90
+
91
+ if (uniforms.smoothing == 0) { // Nearest neighbor
92
+ float quantized_value = get_value(dataTexture, dataSampler, in.texCoord, uniforms);
93
+ if (quantized_value >= 99999.0) {
94
+ discard_fragment();
95
+ }
96
+ raw_value = dequantize_val(quantized_value, uniforms);
97
+
98
+ } else { // Bilinear interpolation
99
+ float2 texel_size = 1.0 / uniforms.textureSize;
100
+ float2 tex_coord_in_texels = in.texCoord * uniforms.textureSize;
101
+ float2 bl_texel_index = floor(tex_coord_in_texels - 0.5);
102
+ float2 f = fract(tex_coord_in_texels - 0.5); // Interpolation factors
103
+
104
+ // Coordinates of the 4 neighboring texels
105
+ float2 v00_coord = (bl_texel_index + float2(0.5, 0.5)) * texel_size;
106
+ float2 v10_coord = (bl_texel_index + float2(1.5, 0.5)) * texel_size;
107
+ float2 v01_coord = (bl_texel_index + float2(0.5, 1.5)) * texel_size;
108
+ float2 v11_coord = (bl_texel_index + float2(1.5, 1.5)) * texel_size;
109
+
110
+ if (uniforms.isPtype == 1) {
111
+ // --- ENHANCED PTYPE-SPECIFIC INTERPOLATION ---
112
+ float v00 = dequantize_val(get_value(dataTexture, dataSampler, v00_coord, uniforms), uniforms);
113
+ float v10 = dequantize_val(get_value(dataTexture, dataSampler, v10_coord, uniforms), uniforms);
114
+ float v01 = dequantize_val(get_value(dataTexture, dataSampler, v01_coord, uniforms), uniforms);
115
+ float v11 = dequantize_val(get_value(dataTexture, dataSampler, v11_coord, uniforms), uniforms);
116
+
117
+ float p00 = get_ptype_from_physical(v00, uniforms);
118
+ float p10 = get_ptype_from_physical(v10, uniforms);
119
+ float p01 = get_ptype_from_physical(v01, uniforms);
120
+ float p11 = get_ptype_from_physical(v11, uniforms);
121
+
122
+ // Count unique valid precipitation types
123
+ bool has_type_0 = false;
124
+ bool has_type_1 = false;
125
+ bool has_type_2 = false;
126
+ bool has_type_3 = false;
127
+ int valid_count = 0;
128
+
129
+ if (p00 >= 0.0) {
130
+ int ptype = int(p00);
131
+ if (ptype == 0) has_type_0 = true;
132
+ else if (ptype == 1) has_type_1 = true;
133
+ else if (ptype == 2) has_type_2 = true;
134
+ else if (ptype == 3) has_type_3 = true;
135
+ valid_count++;
136
+ }
137
+ if (p10 >= 0.0) {
138
+ int ptype = int(p10);
139
+ if (ptype == 0) has_type_0 = true;
140
+ else if (ptype == 1) has_type_1 = true;
141
+ else if (ptype == 2) has_type_2 = true;
142
+ else if (ptype == 3) has_type_3 = true;
143
+ valid_count++;
144
+ }
145
+ if (p01 >= 0.0) {
146
+ int ptype = int(p01);
147
+ if (ptype == 0) has_type_0 = true;
148
+ else if (ptype == 1) has_type_1 = true;
149
+ else if (ptype == 2) has_type_2 = true;
150
+ else if (ptype == 3) has_type_3 = true;
151
+ valid_count++;
152
+ }
153
+ if (p11 >= 0.0) {
154
+ int ptype = int(p11);
155
+ if (ptype == 0) has_type_0 = true;
156
+ else if (ptype == 1) has_type_1 = true;
157
+ else if (ptype == 2) has_type_2 = true;
158
+ else if (ptype == 3) has_type_3 = true;
159
+ valid_count++;
160
+ }
161
+
162
+ if (valid_count == 0) discard_fragment();
163
+
164
+ // Count how many unique types we have
165
+ int unique_types = 0;
166
+ if (has_type_0) unique_types++;
167
+ if (has_type_1) unique_types++;
168
+ if (has_type_2) unique_types++;
169
+ if (has_type_3) unique_types++;
170
+
171
+ if (unique_types == 1) {
172
+ // ALL SAME TYPE - smooth interpolation across all valid pixels
173
+ float total_value = 0.0;
174
+ float total_weight = 0.0;
175
+
176
+ if (p00 >= 0.0) {
177
+ float weight = (1.0 - f.x) * (1.0 - f.y);
178
+ total_value += v00 * weight;
179
+ total_weight += weight;
180
+ }
181
+ if (p10 >= 0.0) {
182
+ float weight = f.x * (1.0 - f.y);
183
+ total_value += v10 * weight;
184
+ total_weight += weight;
185
+ }
186
+ if (p01 >= 0.0) {
187
+ float weight = (1.0 - f.x) * f.y;
188
+ total_value += v01 * weight;
189
+ total_weight += weight;
190
+ }
191
+ if (p11 >= 0.0) {
192
+ float weight = f.x * f.y;
193
+ total_value += v11 * weight;
194
+ total_weight += weight;
195
+ }
196
+
197
+ if (total_weight <= 0.0) discard_fragment();
198
+ raw_value = total_value / total_weight;
199
+
200
+ } else {
201
+ // MULTIPLE TYPES - weighted voting to determine dominant type
202
+ float type_weight_0 = 0.0;
203
+ float type_weight_1 = 0.0;
204
+ float type_weight_2 = 0.0;
205
+ float type_weight_3 = 0.0;
206
+
207
+ if (p00 >= 0.0) {
208
+ float w = (1.0 - f.x) * (1.0 - f.y);
209
+ int ptype = int(p00);
210
+ if (ptype == 0) type_weight_0 += w;
211
+ else if (ptype == 1) type_weight_1 += w;
212
+ else if (ptype == 2) type_weight_2 += w;
213
+ else if (ptype == 3) type_weight_3 += w;
214
+ }
215
+ if (p10 >= 0.0) {
216
+ float w = f.x * (1.0 - f.y);
217
+ int ptype = int(p10);
218
+ if (ptype == 0) type_weight_0 += w;
219
+ else if (ptype == 1) type_weight_1 += w;
220
+ else if (ptype == 2) type_weight_2 += w;
221
+ else if (ptype == 3) type_weight_3 += w;
222
+ }
223
+ if (p01 >= 0.0) {
224
+ float w = (1.0 - f.x) * f.y;
225
+ int ptype = int(p01);
226
+ if (ptype == 0) type_weight_0 += w;
227
+ else if (ptype == 1) type_weight_1 += w;
228
+ else if (ptype == 2) type_weight_2 += w;
229
+ else if (ptype == 3) type_weight_3 += w;
230
+ }
231
+ if (p11 >= 0.0) {
232
+ float w = f.x * f.y;
233
+ int ptype = int(p11);
234
+ if (ptype == 0) type_weight_0 += w;
235
+ else if (ptype == 1) type_weight_1 += w;
236
+ else if (ptype == 2) type_weight_2 += w;
237
+ else if (ptype == 3) type_weight_3 += w;
238
+ }
239
+
240
+ // Find the type with the highest weight at this pixel location
241
+ float max_type_weight = 0.0;
242
+ float winning_type = -1.0;
243
+ if (type_weight_0 > max_type_weight) { max_type_weight = type_weight_0; winning_type = 0.0; }
244
+ if (type_weight_1 > max_type_weight) { max_type_weight = type_weight_1; winning_type = 1.0; }
245
+ if (type_weight_2 > max_type_weight) { max_type_weight = type_weight_2; winning_type = 2.0; }
246
+ if (type_weight_3 > max_type_weight) { max_type_weight = type_weight_3; winning_type = 3.0; }
247
+
248
+ if (winning_type == -1.0) discard_fragment();
249
+
250
+ // Now smoothly interpolate only among pixels of the winning type
251
+ float total_value = 0.0;
252
+ float total_weight = 0.0;
253
+
254
+ if (p00 == winning_type) {
255
+ float weight = (1.0 - f.x) * (1.0 - f.y);
256
+ total_value += v00 * weight;
257
+ total_weight += weight;
258
+ }
259
+ if (p10 == winning_type) {
260
+ float weight = f.x * (1.0 - f.y);
261
+ total_value += v10 * weight;
262
+ total_weight += weight;
263
+ }
264
+ if (p01 == winning_type) {
265
+ float weight = (1.0 - f.x) * f.y;
266
+ total_value += v01 * weight;
267
+ total_weight += weight;
268
+ }
269
+ if (p11 == winning_type) {
270
+ float weight = f.x * f.y;
271
+ total_value += v11 * weight;
272
+ total_weight += weight;
273
+ }
274
+
275
+ if (total_weight <= 0.0) discard_fragment();
276
+ raw_value = total_value / total_weight;
277
+ }
278
+
279
+ // Force full alpha to prevent dark borders between ptype regions
280
+ alpha_multiplier = 1.0;
281
+
282
+ } else {
283
+ // --- STANDARD INTERPOLATION (CONTINUOUS) ---
284
+ float v00_q = get_value(dataTexture, dataSampler, v00_coord, uniforms);
285
+ float v10_q = get_value(dataTexture, dataSampler, v10_coord, uniforms);
286
+ float v01_q = get_value(dataTexture, dataSampler, v01_coord, uniforms);
287
+ float v11_q = get_value(dataTexture, dataSampler, v11_coord, uniforms);
288
+
289
+ float total_value_q = 0.0;
290
+ float total_weight = 0.0;
291
+ if (v00_q < 99999.0) { float w = (1.0-f.x)*(1.0-f.y); total_value_q+=v00_q*w; total_weight+=w; }
292
+ if (v10_q < 99999.0) { float w = f.x*(1.0-f.y); total_value_q+=v10_q*w; total_weight+=w; }
293
+ if (v01_q < 99999.0) { float w = (1.0-f.x)*f.y; total_value_q+=v01_q*w; total_weight+=w; }
294
+ if (v11_q < 99999.0) { float w = f.x*f.y; total_value_q+=v11_q*w; total_weight+=w; }
295
+
296
+ if (total_weight <= 0.0) discard_fragment();
297
+ raw_value = dequantize_val(total_value_q / total_weight, uniforms);
298
+ alpha_multiplier = total_weight; // Feather the edges of the data
299
+ }
300
+ }
301
+
302
+ // --- COMMON FINAL STEPS ---
303
+
304
+ if (raw_value < uniforms.dataRange.x) {
305
+ discard_fragment();
306
+ }
307
+
308
+ float colormap_coord = (raw_value - uniforms.dataRange.x) / (uniforms.dataRange.y - uniforms.dataRange.x);
309
+ colormap_coord = clamp(colormap_coord, 0.0, 1.0);
310
+
311
+ float4 color = colormapTexture.sample(colormapSampler, float2(colormap_coord, 0.5));
312
+
313
+ // Discard if the colormap specifies transparency
314
+ if (color.a < 0.1) {
315
+ discard_fragment();
316
+ }
317
+
318
+ float final_alpha = color.a * uniforms.opacity * alpha_multiplier;
319
+ return float4(color.rgb * final_alpha, final_alpha);
320
320
  }