Package com.jme3.opencl.lwjgl
Class Utils
java.lang.Object
com.jme3.opencl.lwjgl.Utils
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ByteBufferstatic final FloatBufferstatic final LongBufferstatic final booleanstatic IntBufferstatic final org.lwjgl.PointerBuffer[]static final Utils.TempBuffer[] -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidcheckError(int error, String callName) static voidcheckError(IntBuffer errorBuffer, String callName) static StringgetErrorName(int code) static intgetMajorVersion(String version, String prefix) static longstatic longstatic MemoryAccessgetMemoryAccessFromFlag(long flag) static intgetMinorVersion(String version, String prefix) static voidreportError(int error, String callName)
-
Field Details
-
CL_GL_SHARING_POSSIBLE
public static final boolean CL_GL_SHARING_POSSIBLE- See Also:
-
b80
-
b80l
-
b80f
-
tempBuffers
-
pointerBuffers
public static final org.lwjgl.PointerBuffer[] pointerBuffers -
errorBuffer
-
-
Method Details
-
assertSharingPossible
public static void assertSharingPossible() -
getMajorVersion
-
getMinorVersion
-
checkError
-
checkError
-
reportError
-
getErrorName
-
getMemoryAccessFlags
-
getMemoryAccessFromFlag
-
getMappingAccessFlags
-