HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
11
test
(
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
}
test
cvex test(vector P=0;int unbound=3;export float s=0;export vector Cf=0;)
Definition:
test.vfl:11
printf
auto printf(const S &fmt, const T &...args) -> int
Definition:
printf.h:626
s
GLdouble s
Definition:
glad.h:3009
testBound
void testBound(string name)
Definition:
test.vfl:2
name
GLuint const GLchar * name
Definition:
glcorearb.h:786
ImageBufAlgo::noise
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)
samples
CVEX
test.vfl
Generated on Sat Dec 21 2024 02:49:53 for HDK by
1.8.6