diff options
Diffstat (limited to 'src/com/jogamp/opencl/demos/julia3d/structs/RenderingConfig.java')
-rw-r--r-- | src/com/jogamp/opencl/demos/julia3d/structs/RenderingConfig.java | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/demos/julia3d/structs/RenderingConfig.java b/src/com/jogamp/opencl/demos/julia3d/structs/RenderingConfig.java new file mode 100644 index 0000000..4b14f1a --- /dev/null +++ b/src/com/jogamp/opencl/demos/julia3d/structs/RenderingConfig.java @@ -0,0 +1,78 @@ +/* !---- DO NOT EDIT: This file autogenerated by com/sun/gluegen/JavaEmitter.java on Tue Feb 09 18:20:26 CET 2010 ----! */ + + +package com.jogamp.opencl.demos.julia3d.structs; + +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(); +} |