com.jogamp.opengl.cg.CGparameter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl Show documentation
Show all versions of jogl Show documentation
Java™ Binding for the OpenGL® API (Atomic Jar files)
The newest version!
/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/procaddress/ProcAddressEmitter.java on Sat Oct 10 03:21:06 CEST 2015 ----! */
package com.jogamp.opengl.cg;
import java.nio.*;
import com.jogamp.gluegen.runtime.*;
import com.jogamp.common.os.*;
import com.jogamp.common.nio.*;
import jogamp.common.os.MachineDataInfoRuntime;
import jogamp.opengl.*;
import com.jogamp.common.os.DynamicLookupHelper;
import com.jogamp.common.os.DynamicLibraryBundle;
import com.jogamp.opengl.cg.CgDynamicLibraryBundleInfo;
import java.security.PrivilegedAction;
import java.security.AccessController;
public class CGparameter {
StructAccessor accessor;
private static final int mdIdx = MachineDataInfoRuntime.getStatic().ordinal();
private final MachineDataInfo md;
private static final int[] CGparameter_size = new int[] { 0 /* ARM_MIPS_32 */, 0 /* X86_32_UNIX */, 0 /* X86_32_MACOS */, 0 /* PPC_32_UNIX */, 0 /* SPARC_32_SUNOS */, 0 /* X86_32_WINDOWS */, 0 /* LP64_UNIX */, 0 /* X86_64_WINDOWS */ };
public static int size() {
return CGparameter_size[mdIdx];
}
public static CGparameter create() {
return create(Buffers.newDirectByteBuffer(size()));
}
public static CGparameter create(java.nio.ByteBuffer buf) {
return new CGparameter(buf);
}
CGparameter(java.nio.ByteBuffer buf) {
md = MachineDataInfo.StaticConfig.values()[mdIdx].md;
accessor = new StructAccessor(buf);
}
public java.nio.ByteBuffer getBuffer() {
return accessor.getBuffer();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy