lib-color · crate
kinogaki-color-wgpu
kinogaki-color's processors on a wgpu device.
- Repository
- lib-color (kinogaki/lib-color)
- Folder
libs/lib-color/crates/wgpu- Source
- 1 file, 413 lines
- Tests
- 1 file, 381 lines
What it is
kinogaki-color's processors on a wgpu device.
ImageDisplay: draws a scene-linear image (a render's film, a texture) through a processor (the viewer's display and view) into a render pass: a full-target triangle sampling the image, the processor's WGSL in the fragment shader. A change of exposure or gamma rewrites four floats; a change of config, display or view makes a newImageDisplay.Evaluator: runs a processor over many colors in a compute pass, for tests that hold the GPU path to the CPU one.
The image's region (the part of it the target shows) is per binding.
Depends on
| Crate | Repository | As | What it is |
|---|---|---|---|
kinogaki-color | lib-color | normal | Color science and color management for Kinogaki. |
Third-party
| Crate | Version | Licence | Frozen in | As | Also used by |
|---|---|---|---|---|---|
wgpu | 30.0.1 | MIT OR Apache-2.0 | lib-ui/vendor | normal | kinogaki-composit-wgpu, kinogaki-editor, kinogaki-render-api, kinogaki-shared, kinogaki-ui-shell, kinogaki-ui-wgpu, kinogaki-viewport-gpu |
Used by
| Crate | Repository | As | What it is |
|---|---|---|---|
kinogaki-image-pipeline | Core and the app | normal | ImagePipeline: what renders become on screen and in files. |
Modules
One file: the crate root.
Public types and traits
At the crate root
Structs EvaluatorImageBindingImageDisplay
Besides these, 1 public function at module level.
