Package com.jme3.opencl.lwjgl
Class LwjglProgram
java.lang.Object
com.jme3.opencl.AbstractOpenCLObject
com.jme3.opencl.Program
com.jme3.opencl.lwjgl.LwjglProgram
- All Implemented Interfaces:
- OpenCLObject
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.jme3.opencl.OpenCLObjectOpenCLObject.ObjectReleaser
- 
Field SummaryFields inherited from class com.jme3.opencl.AbstractOpenCLObjectreleaser
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidBuilds this program with the specified argument string on the specified devices.Kernel[]Creates all available kernels in this program.createKernel(String name) Creates the kernel with the specified name.Queries a compiled binary representation of this program for a particular device.org.lwjgl.opencl.CLProgramMethods inherited from class com.jme3.opencl.AbstractOpenCLObjectfinalize, getReleaser, release
- 
Constructor Details- 
LwjglProgram
 
- 
- 
Method Details- 
getProgrampublic org.lwjgl.opencl.CLProgram getProgram()
- 
buildDescription copied from class:ProgramBuilds this program with the specified argument string on the specified devices. Please see the official OpenCL specification for a definition of all supported arguments. The list of devices specify on which device the compiled program can then be executed. It must be a subset ofContext.getDevices(). Ifnullis passed, the program is built on all available devices.- Specified by:
- buildin class- Program
- Parameters:
- args- the compilation arguments
- devices- a list of devices on which the program is build.
- Throws:
- KernelCompilationException- if the compilation fails
- See Also:
 
- 
createKernelDescription copied from class:ProgramCreates the kernel with the specified name.- Specified by:
- createKernelin class- Program
- Parameters:
- name- the name of the kernel as defined in the source code
- Returns:
- the kernel object
 
- 
createAllKernelsDescription copied from class:ProgramCreates all available kernels in this program. The names of the kernels can then be queried byKernel.getName().- Specified by:
- createAllKernelsin class- Program
- Returns:
- an array of all kernels
 
- 
getBinaryDescription copied from class:ProgramQueries a compiled binary representation of this program for a particular device. This binary can then be used e.g. in the next application launch to create the program from the binaries and not from the sources. This saves time.
 
-