java.lang.Object | |
↳ | android.renderscript.Script.LaunchOptions |
Class for specifying the specifics about how a kernel will be launched This class can specify a potential range of cells on which to run a kernel. If no set is called for a dimension then this class will have no impact on that dimension when the kernel is executed. The forEach launch will operate over the intersection of the dimensions. Example: LaunchOptions with setX(5, 15) Allocation with dimension X=10, Y=10 The resulting forEach run would execute over x = 5 to 10 and y = 0 to 10.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the current X end
| |||||||||||
Returns the current X start
| |||||||||||
Returns the current Y end
| |||||||||||
Returns the current Y start
| |||||||||||
Returns the current Z end
| |||||||||||
Returns the current Z start
| |||||||||||
Set the X range.
| |||||||||||
Set the Y range.
| |||||||||||
Set the Z range.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Set the X range. If the end value is set to 0 the X dimension is not clipped.
xstartArg | Must be >= 0 |
---|---|
xendArg | Must be >= xstartArg |
Set the Y range. If the end value is set to 0 the Y dimension is not clipped.
ystartArg | Must be >= 0 |
---|---|
yendArg | Must be >= ystartArg |
Set the Z range. If the end value is set to 0 the Z dimension is not clipped.
zstartArg | Must be >= 0 |
---|---|
zendArg | Must be >= zstartArg |