lib-composit · crate

kinogaki-composit-wgpu

Librarykernel

Comp on a wgpu host's own device.

Repository
lib-composit (kinogaki/lib-composit)
Folder
libs/lib-composit/crates/wgpu
Source
12 files, 1,111 lines
Tests
2 files, 657 lines

Also 12 shader or C files, 473 lines.

depends onused by tests alonedependencies for tests alone are listed below, not drawn

What it is

Comp on a wgpu host's own device.

Executor::run encodes a kinogaki_composit::Plan into the host's command encoder: each step one or more compute passes (kernels), each step's node one pooled Rgba16Float texture at its first input's size, plus the scratch its passes share (Blur's half-blurred image, Bloom's levels, Curves' table). A step runs again only when its operator or what it reads changed, so a host can run the plan every frame and pay only for that. A slider's drag writes uniforms; only a new shape or size makes anything new.

Depends on

CrateRepositoryAsWhat it is
kinogaki-compositlib-compositnormalComp's device-free half: each operator's parameters and maths, tone curves, and the plan a host compiles a network to.

Third-party

Used by

CrateRepositoryAsWhat it is
kinogaki-compCompnormalComp as an SDK package (kinogaki.comp): what fills Studio's Comp context (kinogaki.core.comp, core declares it, inside a Render Output object).

Modules

Public types and traits

At the crate root

Structs ExecutorFilmImageImagesOutcomeShown

Enums RunError

By module: 11 public types and traits in 2 modules

executor ExecutorFilmImageImagesOutcomeRunErrorShown

kernels BindKernelKernelIdKernelsResource

Besides these, 14 public functions at module level.