HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
test.vfl
Go to the documentation of this file.
1 void
2 testBound(string name)
3 {
4  if (isbound(name))
5  printf("%s is bound\n", name);
6  else
7  printf("%s is not bound\n", name);
8 }
9 
10 cvex
12  vector P=0;
13  int unbound = 3;
14  export float s=0;
15  export vector Cf=0;
16 )
17 {
18  testBound("P");
19  testBound("unbound");
20 
21  printf("s=%g P=%g unbound=%d\n", s, P, unbound);
22  Cf = noise(P*10);
23  s *= 2;
24 }
cvex test(vector P=0;int unbound=3;export float s=0;export vector Cf=0;)
Definition: test.vfl:11
auto printf(const S &fmt, const T &...args) -> int
Definition: printf.h:626
GLdouble s
Definition: glad.h:3009
void testBound(string name)
Definition: test.vfl:2
GLuint const GLchar * name
Definition: glcorearb.h:786
ImageBuf OIIO_API noise(string_view noisetype, float A=0.0f, float B=0.1f, bool mono=false, int seed=0, ROI roi={}, int nthreads=0)