Package com.jme3.opencl
Class Kernel.WorkSize
java.lang.Object
com.jme3.opencl.Kernel.WorkSize
- Enclosing class:
- Kernel
The work size (global and local) for executing a kernel
- 
Constructor SummaryConstructorsConstructorDescriptionWorkSize()Creates a work size of dimension 1 and extend 1,1,1 (only one thread).WorkSize(int dimension, long... sizes) Creates a new work size objectWorkSize(long size) Creates a 1D work size of the specified extendWorkSize(long width, long height) Creates a 2D work size of the specified extendWorkSize(long width, long height, long depth) Creates a 3D work size of the specified extend.
- 
Method Summary
- 
Constructor Details- 
WorkSizepublic WorkSize(int dimension, long... sizes) Creates a new work size object- Parameters:
- dimension- the dimension (1,2,3)
- sizes- the sizes in each dimension, the length must match the specified dimension
 
- 
WorkSizepublic WorkSize()Creates a work size of dimension 1 and extend 1,1,1 (only one thread).
- 
WorkSizepublic WorkSize(long size) Creates a 1D work size of the specified extend- Parameters:
- size- the size
 
- 
WorkSizepublic WorkSize(long width, long height) Creates a 2D work size of the specified extend- Parameters:
- width- the width
- height- the height
 
- 
WorkSizepublic WorkSize(long width, long height, long depth) Creates a 3D work size of the specified extend.- Parameters:
- width- the width
- height- the height
- depth- the depth
 
 
- 
- 
Method Details