Class Utils

java.lang.Object
com.jme3.opencl.lwjgl.Utils

public class Utils extends Object
  • Field Details

    • b80

      public static final ByteBuffer b80
    • b80l

      public static final LongBuffer b80l
    • b80f

      public static final FloatBuffer b80f
    • tempBuffers

      public static final Utils.TempBuffer[] tempBuffers
    • pointerBuffers

      public static final org.lwjgl.PointerBuffer[] pointerBuffers
    • errorBuffer

      public static IntBuffer errorBuffer
  • Method Details

    • getMajorVersion

      public static int getMajorVersion(String version, String prefix)
    • getMinorVersion

      public static int getMinorVersion(String version, String prefix)
    • checkError

      public static void checkError(IntBuffer errorBuffer, String callName)
    • checkError

      public static void checkError(int error, String callName)
    • reportError

      public static void reportError(int error, String callName)
    • getErrorName

      public static String getErrorName(int code)
    • getMemoryAccessFlags

      public static long getMemoryAccessFlags(MemoryAccess ma)
    • getMemoryAccessFromFlag

      public static MemoryAccess getMemoryAccessFromFlag(long flag)
    • getMappingAccessFlags

      public static long getMappingAccessFlags(MappingAccess ma)