blob: 5bc65b5706f907cdac3392cb28c07e9f0d64623e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
/* !---- DO NOT EDIT: This file autogenerated by com/sun/gluegen/JavaEmitter.java on Tue Feb 09 18:20:26 CET 2010 ----! */
package com.mbien.opencl.demos.julia3d.structs;
import java.nio.*;
import com.jogamp.common.nio.*;
public abstract class RenderingConfig {
StructAccessor accessor;
public static int size() {
// if (CPU.is32Bit()) {
// return RenderingConfig32.size();
// } else {
return RenderingConfig64.size();
// }
}
public static RenderingConfig create() {
return create(Buffers.newDirectByteBuffer(size()));
}
public static RenderingConfig create(java.nio.ByteBuffer buf) {
// if (CPU.is32Bit()) {
// return new RenderingConfig32(buf);
// } else {
return new RenderingConfig64(buf);
// }
}
RenderingConfig(java.nio.ByteBuffer buf) {
accessor = new StructAccessor(buf);
}
public java.nio.ByteBuffer getBuffer() {
return accessor.getBuffer();
}
public abstract RenderingConfig setWidth(int val);
public abstract int getWidth();
public abstract RenderingConfig setHeight(int val);
public abstract int getHeight();
public abstract RenderingConfig setSuperSamplingSize(int val);
public abstract int getSuperSamplingSize();
public abstract RenderingConfig setActvateFastRendering(int val);
public abstract int getActvateFastRendering();
public abstract RenderingConfig setEnableShadow(int val);
public abstract int getEnableShadow();
public abstract RenderingConfig setMaxIterations(int val);
public abstract int getMaxIterations();
public abstract RenderingConfig setEpsilon(float val);
public abstract float getEpsilon();
public abstract RenderingConfig setMu(float[] val);
public abstract float[] getMu();
public abstract RenderingConfig setLight(float[] val);
public abstract float[] getLight();
public abstract Camera getCamera();
}
|