» 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

~2h ago

joreg: Don't forget: This months #vvvv meetup in #berlin is happening on the 27th: 12-berlin-vvvv-meetup

~2h ago

joreg: @u7 @CeeYaa, we're investigating this...

~4h ago

tonfilm: Under the hood: We switched from #SharpDX to #Xenko math. vl-switch-to-xenko-math VL vvvv #visualprogramming #dotnet #creativecoding

~9h ago

CeeYaa: haha it was frozen for 10 seconds when I send this Shout before - using Firefox

~9h ago

CeeYaa: hui really slow speed on MainPage, Contributions ... speed in Forum quite OK

~11h ago

u7angel: mmm, the site is really slow now.

~21h ago

joreg: PSA: and we're back!

~2d ago

joreg: PSA: Thursday night starting 11pm CET vvvv.org will move servers. If all goes well we should be back soon after.

~3d ago

joreg: But first: This Friday in Berlin: Join our full day "Getting started with Generative Design Algorithms" workshop https://nodeforum.org/announcements/workshop-getting-started-with-generative-design/

~3d ago

joreg: In #Linz for #ArsElectronica? Join us for a free 2 days #vvvv workshop sponsored by businesses/responsive-spaces-gmbh Apply here: 2-day-gamma-vvvvorkshop-at-responsive-spaces-in-linz