» EX9.HLSL.Annotations
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

EX9.HLSL.Annotations

French | Italian

Following Annotations for parameters in Effect-Files are currently supported in vvvv. All Annotations are case-insensitive.

annotation description type
uiname defines the name for the pin of the effect node representing this parameter. if you don't declare a parameter with the annotation "uiname", the pin will be given the name of the parameter. string
uimin define the minimum for this scalar-type parameter; value may not be smaller than defined (supported by gui) * float or int
uimax define the maximum for this scalar-type parameter; value may not be taller than defined (supported by gui) * float or int

* works only for scalar types (ValueTypes): int and float

Example

float foo;

results in a value pin called MyParamter on the effect node with a subtype defaulting to 0 and a range of MinFloat to MaxFloat.

float foo <string uiname = "My Parameter"; float uimin = 0; float uimax = 1;> = 0.5;

results in a value pin called My Parameter on the effect node with a subtype defaulting to 0.5 and a range of 0 to 1.

anonymous user login

Shoutbox

~3mth ago

joreg: END OF SHOUTBOX! As this page has is now legacy, it will no longer feature new content. For latest news, see: http://vvvv.org

~4mth ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~4mth ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~4mth ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~4mth ago

~4mth ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~4mth ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~4mth ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~5mth ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~5mth ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/