@@ -69,7 +69,7 @@ fn luminance<T: Adjust<Color>>(
69
69
input
70
70
}
71
71
72
- #[ node_macro:: node( category( "Raster" ) , shader_node ( PerPixelAdjust ) ) ]
72
+ #[ node_macro:: node( category( "Raster" ) , cfg ( feature = "std" ) ) ]
73
73
fn gamma_correction < T : Adjust < Color > > (
74
74
_: impl Ctx ,
75
75
#[ implementations(
@@ -143,7 +143,7 @@ fn make_opaque<T: Adjust<Color>>(
143
143
//
144
144
// Some further analysis available at:
145
145
// https://geraldbakker.nl/psnumbers/brightness-contrast.html
146
- #[ node_macro:: node( name( "Brightness/Contrast" ) , category( "Raster: Adjustment" ) , properties( "brightness_contrast_properties" ) , shader_node ( PerPixelAdjust ) ) ]
146
+ #[ node_macro:: node( name( "Brightness/Contrast" ) , category( "Raster: Adjustment" ) , properties( "brightness_contrast_properties" ) , cfg ( feature = "std" ) ) ]
147
147
fn brightness_contrast < T : Adjust < Color > > (
148
148
_: impl Ctx ,
149
149
#[ implementations(
@@ -651,7 +651,7 @@ pub enum DomainWarpType {
651
651
// Aims for interoperable compatibility with:
652
652
// https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#:~:text=%27mixr%27%20%3D%20Channel%20Mixer
653
653
// https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#:~:text=Lab%20color%20only-,Channel%20Mixer,-Key%20is%20%27mixr
654
- #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "channel_mixer_properties" ) , shader_node ( PerPixelAdjust ) ) ]
654
+ #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "channel_mixer_properties" ) , cfg ( feature = "std" ) ) ]
655
655
fn channel_mixer < T : Adjust < Color > > (
656
656
_: impl Ctx ,
657
657
#[ implementations(
@@ -781,7 +781,7 @@ pub enum SelectiveColorChoice {
781
781
//
782
782
// Algorithm based on:
783
783
// https://blog.pkh.me/p/22-understanding-selective-coloring-in-adobe-photoshop.html
784
- #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "selective_color_properties" ) , shader_node ( PerPixelAdjust ) ) ]
784
+ #[ node_macro:: node( category( "Raster: Adjustment" ) , properties( "selective_color_properties" ) , cfg ( feature = "std" ) ) ]
785
785
fn selective_color < T : Adjust < Color > > (
786
786
_: impl Ctx ,
787
787
#[ implementations(
0 commit comments