LaunchOptions
classLaunchOptions
| kotlin.Any | |
| ↳ | 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 kernel 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 9 (inclusive) and y = 0 to 9 (inclusive).
Summary
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| Int | getXEnd()Returns the current X end | 
| Int | Returns the current X start | 
| Int | getYEnd()Returns the current Y end | 
| Int | Returns the current Y start | 
| Int | getZEnd()Returns the current Z end | 
| Int | Returns the current Z start | 
| Script.LaunchOptions! | Set the X range. | 
| Script.LaunchOptions! | Set the Y range. | 
| Script.LaunchOptions! | Set the Z range. | 
Public constructors
LaunchOptions
LaunchOptions()
Public methods
getXEnd
fungetXEnd(): Int
Deprecated: Deprecated in Java.
Returns the current X end
| Return | |
|---|---|
| Int | int current value | 
getXStart
fungetXStart(): Int
Deprecated: Deprecated in Java.
Returns the current X start
| Return | |
|---|---|
| Int | int current value | 
getYEnd
fungetYEnd(): Int
Deprecated: Deprecated in Java.
Returns the current Y end
| Return | |
|---|---|
| Int | int current value | 
getYStart
fungetYStart(): Int
Deprecated: Deprecated in Java.
Returns the current Y start
| Return | |
|---|---|
| Int | int current value | 
getZEnd
fungetZEnd(): Int
Deprecated: Deprecated in Java.
Returns the current Z end
| Return | |
|---|---|
| Int | int current value | 
getZStart
fungetZStart(): Int
Deprecated: Deprecated in Java.
Returns the current Z start
| Return | |
|---|---|
| Int | int current value | 
setX
funsetX(
xstartArg: Int,
xendArg: Int
): Script.LaunchOptions!
Deprecated: Deprecated in Java.
Set the X range. xstartArg is the lowest coordinate of the range, and xendArg-1 is the highest coordinate of the range.
| Parameters | |
|---|---|
| xstartArg | Int: Must be >= 0 | 
| xendArg | Int: Must be > xstartArg | 
| Return | |
|---|---|
| Script.LaunchOptions! | LaunchOptions | 
setY
funsetY(
ystartArg: Int,
yendArg: Int
): Script.LaunchOptions!
Deprecated: Deprecated in Java.
Set the Y range. ystartArg is the lowest coordinate of the range, and yendArg-1 is the highest coordinate of the range.
| Parameters | |
|---|---|
| ystartArg | Int: Must be >= 0 | 
| yendArg | Int: Must be > ystartArg | 
| Return | |
|---|---|
| Script.LaunchOptions! | LaunchOptions | 
setZ
funsetZ(
zstartArg: Int,
zendArg: Int
): Script.LaunchOptions!
Deprecated: Deprecated in Java.
Set the Z range. zstartArg is the lowest coordinate of the range, and zendArg-1 is the highest coordinate of the range.
| Parameters | |
|---|---|
| zstartArg | Int: Must be >= 0 | 
| zendArg | Int: Must be > zstartArg | 
| Return | |
|---|---|
| Script.LaunchOptions! | LaunchOptions | 
