Skip to content

Most visited

Recently visited

navigation

Script.LaunchOptions

public static final class Script.LaunchOptions
extends Object

java.lang.Object
   ↳ android.support.v8.renderscript.Script.LaunchOptions


Class used to specify clipping for a kernel launch.

Summary

Public constructors

Script.LaunchOptions()

Public methods

int getXEnd()

Returns the current X end

int getXStart()

Returns the current X start

int getYEnd()

Returns the current Y end

int getYStart()

Returns the current Y start

int getZEnd()

Returns the current Z end

int getZStart()

Returns the current Z start

Script.LaunchOptions setX(int xstartArg, int xendArg)

Set the X range.

Script.LaunchOptions setY(int ystartArg, int yendArg)

Set the Y range.

Script.LaunchOptions setZ(int zstartArg, int zendArg)

Set the Z range.

Inherited methods

From class java.lang.Object

Public constructors

Script.LaunchOptions

Script.LaunchOptions ()

Public methods

getXEnd

int getXEnd ()

Returns the current X end

Returns
int int current value

getXStart

int getXStart ()

Returns the current X start

Returns
int int current value

getYEnd

int getYEnd ()

Returns the current Y end

Returns
int int current value

getYStart

int getYStart ()

Returns the current Y start

Returns
int int current value

getZEnd

int getZEnd ()

Returns the current Z end

Returns
int int current value

getZStart

int getZStart ()

Returns the current Z start

Returns
int int current value

setX

Script.LaunchOptions setX (int xstartArg, 
                int xendArg)

Set the X range. If the end value is set to 0 the X dimension is not clipped.

Parameters
xstartArg int: Must be >= 0
xendArg int: Must be >= xstartArg
Returns
Script.LaunchOptions LaunchOptions

setY

Script.LaunchOptions setY (int ystartArg, 
                int yendArg)

Set the Y range. If the end value is set to 0 the Y dimension is not clipped.

Parameters
ystartArg int: Must be >= 0
yendArg int: Must be >= ystartArg
Returns
Script.LaunchOptions LaunchOptions

setZ

Script.LaunchOptions setZ (int zstartArg, 
                int zendArg)

Set the Z range. If the end value is set to 0 the Z dimension is not clipped.

Parameters
zstartArg int: Must be >= 0
zendArg int: Must be >= zstartArg
Returns
Script.LaunchOptions LaunchOptions
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.