@@ -67,7 +67,7 @@ fn luminance<T: Adjust<Color>>(
67
67
input
68
68
}
69
69
70
- #[ node_macro:: node( category( "Raster" ) , shader_node ( PerPixelAdjust ) ) ]
70
+ #[ node_macro:: node( category( "Raster" ) , cfg ( feature = "std" ) ) ]
71
71
fn gamma_correction < T : Adjust < Color > > (
72
72
_: impl Ctx ,
73
73
#[ implementations(
@@ -138,7 +138,7 @@ fn make_opaque<T: Adjust<Color>>(
138
138
//
139
139
// Some further analysis available at:
140
140
// https://geraldbakker.nl/psnumbers/brightness-contrast.html
141
- #[ node_macro:: node( name( "Brightness/Contrast" ) , category( "Raster: Adjustment" ) , properties( "brightness_contrast_properties" ) , shader_node ( PerPixelAdjust ) ) ]
141
+ #[ node_macro:: node( name( "Brightness/Contrast" ) , category( "Raster: Adjustment" ) , properties( "brightness_contrast_properties" ) , cfg ( feature = "std" ) ) ]
142
142
fn brightness_contrast < T : Adjust < Color > > (
143
143
_: impl Ctx ,
144
144
#[ implementations(
@@ -639,7 +639,7 @@ pub enum DomainWarpType {
639
639
// Aims for interoperable compatibility with:
640
640
// https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#:~:text=%27mixr%27%20%3D%20Channel%20Mixer
641
641
// https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#:~:text=Lab%20color%20only-,Channel%20Mixer,-Key%20is%20%27mixr
642
- #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "channel_mixer_properties" ) , shader_node ( PerPixelAdjust ) ) ]
642
+ #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "channel_mixer_properties" ) , cfg ( feature = "std" ) ) ]
643
643
fn channel_mixer < T : Adjust < Color > > (
644
644
_: impl Ctx ,
645
645
#[ implementations(
@@ -768,7 +768,7 @@ pub enum SelectiveColorChoice {
768
768
//
769
769
// Algorithm based on:
770
770
// https://blog.pkh.me/p/22-understanding-selective-coloring-in-adobe-photoshop.html
771
- #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "selective_color_properties" ) , shader_node ( PerPixelAdjust ) ) ]
771
+ #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "selective_color_properties" ) , cfg ( feature = "std" ) ) ]
772
772
fn selective_color < T : Adjust < Color > > (
773
773
_: impl Ctx ,
774
774
#[ implementations(
0 commit comments