Improve the categorization across many nodes

This commit is contained in:
Keavon Chambers
2025-06-23 18:52:05 -07:00
parent 2ec0ff38f3
commit fdb09e334b
11 changed files with 41 additions and 54 deletions

View File

@@ -91,7 +91,7 @@ fn sample_image(ctx: impl ExtractFootprint + Clone + Send, image_frame: RasterDa
result_table
}
#[node_macro::node(category("Raster"))]
#[node_macro::node(category("Raster: Channels"))]
fn combine_channels(
_: impl Ctx,
_primary: (),
@@ -402,7 +402,7 @@ fn image_value(_: impl Ctx, _primary: (), image: RasterDataTable<CPU>) -> Raster
// tiling: Tiling: bool,
// }
#[node_macro::node(category("Raster"))]
#[node_macro::node(category("Raster: Pattern"))]
#[allow(clippy::too_many_arguments)]
fn noise_pattern(
ctx: impl ExtractFootprint + Ctx,
@@ -559,7 +559,7 @@ fn noise_pattern(
result
}
#[node_macro::node(category("Raster"))]
#[node_macro::node(category("Raster: Pattern"))]
fn mandelbrot(ctx: impl ExtractFootprint + Send) -> RasterDataTable<CPU> {
let footprint = ctx.footprint();
let viewport_bounds = footprint.viewport_bounds_in_local_space();