» 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

~16h ago

david: Reminder: vvvv meetup is starting in 10 mins. https://www.youtube.com/watch?v=LzqaoN7QCSg

~2d ago

joreg: Reminder: 6th worldwide #vvvv meetup tomorrow, Nov 24: 6.-worldwide-vvvv-meetup with presentations by u7angel and team, texone and baxtan

~4d ago

tonfilm: That's going to be interesting, let's hope Intel is doing something similar: https://www.tomshardware.com/news/amd-allows-SAM-on-nvidia-gpus

~5d ago

neuston: THX @joreg and sorry for late reply as I left vl for a while. I've responded to related (UI performance issues) thread, no worry

~6d ago

~9d ago

schack: I need some help and hints to realise Text-To-Speech within beta 40 x64!!! THX

~13d ago

joreg: need an mqtt broker? try the new shiftr: https://next.shiftr.io

~13d ago

joreg: @neuston sorry to hear that. that doesn't sound right though...can you elaborate a bit on what you're working. best in the forum.

~13d ago

neuston: I almost cannot complete a single action on VL, the UI just hangs ALL the time (I'm lost temper. plz ignore me)