» 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

~2d ago

nodeforum: E-mail invitations for NODE20’s Festival Hub have been sent out yesterday. In case of trouble let us know via help@nodeforum.org

~3d ago

david: @neuston: email is going out very soon!!!

~3d ago

neuston: @sunep Thx, but I have checked the spam folder but could not fine any

~3d ago

sunep: @neustron have you checked your spam folder? Mine went to spam.

~3d ago

neuston: I've not received any activation email for Talque, after purchased tickets of NODE20 last week. Is it normal? just want to confirm.

~4d ago

boplbopl: @tonfilm nice!

~4d ago

tonfilm: The first #vl #stride screenshots are here! vl.stride-earlyaccess-screenshots #visualprogramming #dotnet @stride3d #creativecoding #vvvv #gamedev

~4d ago

udo2013: @systray27 thank you :)

~6d ago

systray27: @Udo2013> Wow that's beautiful!