Emit declarative LayoutMeta from the node macro into registry entries

This commit is contained in:
Dennis Kobert
2026-08-11 20:08:45 +00:00
parent 557f8020bb
commit b6f73b0691
5 changed files with 89 additions and 0 deletions

View File

@@ -179,6 +179,7 @@ mod node_registry_macros {
(
ProtoNodeIdentifier::new(concat!["graphene_core::ops::IntoNode<", stringify!($to), ">"]),
RegistryEntry {
layout_meta: None,
io: NodeIOTypes::new(
concrete!(Context),
core_types::registry::record_type::<$to>(),
@@ -246,6 +247,7 @@ mod node_registry_macros {
(
ProtoNodeIdentifier::new(concat!["graphene_core::ops::ConvertNode<", stringify!($to), ">"]),
RegistryEntry {
layout_meta: None,
io: NodeIOTypes::new(
concrete!(Context),
core_types::registry::record_type::<$to>(),
@@ -291,6 +293,7 @@ mod node_registry_macros {
(
ProtoNodeIdentifier::new(concat!["graphene_core::ops::ConvertNode<", stringify!($to), ">"]),
RegistryEntry {
layout_meta: None,
io: NodeIOTypes::new(
concrete!(Context),
core_types::registry::record_type::<$to>(),