lib-color · crate

kinogaki-color-wgpu

Libraryenvironment

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
depends onused by tests alonedependencies for tests alone are listed below, not drawn

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 new ImageDisplay.
  • 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

CrateRepositoryAsWhat it is
kinogaki-colorlib-colornormalColor science and color management for Kinogaki.

Third-party

CrateVersionLicenceFrozen inAsAlso used by
wgpu30.0.1MIT OR Apache-2.0lib-ui/vendornormalkinogaki-composit-wgpu, kinogaki-editor, kinogaki-render-api, kinogaki-shared, kinogaki-ui-shell, kinogaki-ui-wgpu, kinogaki-viewport-gpu

Used by

CrateRepositoryAsWhat it is
kinogaki-image-pipelineCore and the appnormalImagePipeline: 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.