tokimeki-image-editor 0.1.9 → 0.1.10
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import SHADER_CODE from '
|
|
2
|
-
import BLUR_SHADER_CODE from '
|
|
3
|
-
import COMPOSITE_SHADER_CODE from '
|
|
4
|
-
import GRAIN_SHADER_CODE from '
|
|
1
|
+
import SHADER_CODE from '$lib/shaders/image-editor.wgsl?raw';
|
|
2
|
+
import BLUR_SHADER_CODE from '$lib/shaders/blur.wgsl?raw';
|
|
3
|
+
import COMPOSITE_SHADER_CODE from '$lib/shaders/composite.wgsl?raw';
|
|
4
|
+
import GRAIN_SHADER_CODE from '$lib/shaders/grain.wgsl?raw';
|
|
5
5
|
/**
|
|
6
6
|
* WebGPU Render Pipeline for image adjustments with viewport and transform support
|
|
7
7
|
* Uses fragment shader to apply adjustments in real-time
|