Package com.jme3.opencl.lwjgl
Class Utils
java.lang.Object
com.jme3.opencl.lwjgl.Utils
- Author:
- shaman
-
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 longgetMappingAccessFlags(com.jme3.opencl.MappingAccess ma) static longgetMemoryAccessFlags(com.jme3.opencl.MemoryAccess ma) static com.jme3.opencl.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
public static long getMemoryAccessFlags(com.jme3.opencl.MemoryAccess ma) -
getMemoryAccessFromFlag
public static com.jme3.opencl.MemoryAccess getMemoryAccessFromFlag(long flag) -
getMappingAccessFlags
public static long getMappingAccessFlags(com.jme3.opencl.MappingAccess ma)
-