aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java')
-rw-r--r--src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java80
1 files changed, 80 insertions, 0 deletions
diff --git a/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java b/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java
new file mode 100644
index 0000000..f96210f
--- /dev/null
+++ b/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java
@@ -0,0 +1,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.sun.gluegen.runtime.*;
+
+
+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(BufferFactory.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();
+}