» 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

~1d ago

joreg: and also tomorrow, July 23rd: vvvv meetup in #berlin 11-berlin-vvvv-meetup-new-space creativecoding #visualprogramming

~7d ago

joreg: In case you missed: We're starting with free bi-weekly introductions to #vvvv next week in #berlin free-vvvv-intro-workshops-this-summer-in-berlin #creativecoding

~7d ago

guest: uno|https://platform.uno/

~14d ago

joreg: @beyon too bad. but from now on we have a fixed schedule: every 4th tuesday in the month! hope this helps to plan evvvveryones visits

~14d ago

beyon: joreg: ah, bad timing, I would be happy to attend but I doesn't look like it will work out

~15d ago

joreg: @beyon any chance you can add 2 days to stay? would be great to have you at the (not yet announced) #vvvv meetup on the 23rd!

~15d ago