Tidy up tooltip documentation for several assorted nodes (#3265)
This commit is contained in:
parent
48ac24da14
commit
6c033a2cd6
|
|
@ -110,6 +110,7 @@ pub fn migrate_artboard<'de, D: serde::Deserializer<'de>>(deserializer: D) -> Re
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Constructs a new single artboard table with the chosen properties.
|
||||||
#[node_macro::node(category(""))]
|
#[node_macro::node(category(""))]
|
||||||
async fn create_artboard<T: Into<Table<Graphic>> + 'n>(
|
async fn create_artboard<T: Into<Table<Graphic>> + 'n>(
|
||||||
ctx: impl ExtractAll + CloneVarArgs + Ctx,
|
ctx: impl ExtractAll + CloneVarArgs + Ctx,
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@ use core::f64;
|
||||||
use glam::{DAffine2, DVec2};
|
use glam::{DAffine2, DVec2};
|
||||||
use graphene_core_shaders::color::Color;
|
use graphene_core_shaders::color::Color;
|
||||||
|
|
||||||
/// Node for filtering context features based on requirements
|
/// Node for filtering components of the context based on the specified requirements.
|
||||||
/// This node is inserted by the compiler to "zero out" unused context parts
|
/// This node is inserted by the compiler to "zero out" unused context components.
|
||||||
#[node_macro::node(category("Internal"))]
|
#[node_macro::node(category("Internal"))]
|
||||||
async fn context_modification<T>(
|
async fn context_modification<T>(
|
||||||
ctx: impl Ctx + CloneVarArgs + ExtractAll,
|
ctx: impl Ctx + CloneVarArgs + ExtractAll,
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ use crate::raster_types::{CPU, Raster};
|
||||||
use crate::table::Table;
|
use crate::table::Table;
|
||||||
use glam::{DAffine2, DVec2};
|
use glam::{DAffine2, DVec2};
|
||||||
|
|
||||||
|
/// Meant for debugging purposes, not general use. Logs the input value to the console and passes it through unchanged.
|
||||||
#[node_macro::node(category("Debug"), name("Log to Console"))]
|
#[node_macro::node(category("Debug"), name("Log to Console"))]
|
||||||
fn log_to_console<T: std::fmt::Debug>(_: impl Ctx, #[implementations(bool, f64, u32, u64, DVec2, DAffine2, String)] value: T) -> T {
|
fn log_to_console<T: std::fmt::Debug>(_: impl Ctx, #[implementations(bool, f64, u32, u64, DVec2, DAffine2, String)] value: T) -> T {
|
||||||
// KEEP THIS `debug!()` - It acts as the output for the debug node itself
|
// KEEP THIS `debug!()` - It acts as the output for the debug node itself
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue