ScriptC
open class ScriptC : Script
This class was deprecated in API level 31.
Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.
The superclass for all user-defined scripts. This is only intended to be used by the generated derived classes.
Summary
Protected constructors
Only intended for use by the generated derived classes.
Only intended for use by the generated derived classes.
Only intended for use by the generated derived classes.
Only intended for use by the generated derived classes.
Inherited functions
From class Script
Unit
bindAllocation (va : Allocation ! , slot : Int )
Only intended for use by generated reflected code.
Script.FieldID !
createFieldID (slot : Int , e : Element ! )
Only to be used by generated reflected classes.
Script.InvokeID !
createInvokeID (slot : Int )
Only to be used by generated reflected classes.
Script.KernelID !
createKernelID (slot : Int , sig : Int , ein : Element ! , eout : Element ! )
Only to be used by generated reflected classes.
Unit
forEach (slot : Int , ain : Allocation ! , aout : Allocation ! , v : FieldPacker ! )
Only intended for use by generated reflected code.
Unit
forEach (slot : Int , ain : Allocation ! , aout : Allocation ! , v : FieldPacker ! , sc : Script.LaunchOptions ! )
Only intended for use by generated reflected code.
Unit
forEach (slot : Int , ains : Array < Allocation ! > ! , aout : Allocation ! , v : FieldPacker ! )
Only intended for use by generated reflected code.
Unit
forEach (slot : Int , ains : Array < Allocation ! > ! , aout : Allocation ! , v : FieldPacker ! , sc : Script.LaunchOptions ! )
Only intended for use by generated reflected code.
Boolean
getVarB (index : Int )
Double
getVarD (index : Int )
Float
getVarF (index : Int )
Int
getVarI (index : Int )
Long
getVarJ (index : Int )
Unit
getVarV (index : Int , v : FieldPacker ! )
Only intended for use by generated reflected code.
Unit
invoke (slot : Int )
Only intended for use by generated reflected code.
Unit
invoke (slot : Int , v : FieldPacker ! )
Only intended for use by generated reflected code.
Unit
reduce (slot : Int , ains : Array < Allocation ! > ! , aout : Allocation ! , sc : Script.LaunchOptions ! )
Only intended for use by generated reflected code. (General reduction)
Unit
setTimeZone (timeZone : String ! )
Unit
setVar (index : Int , v : Float )
Only intended for use by generated reflected code.
Unit
setVar (index : Int , v : Double )
Only intended for use by generated reflected code.
Unit
setVar (index : Int , v : Int )
Only intended for use by generated reflected code.
Unit
setVar (index : Int , v : Long )
Only intended for use by generated reflected code.
Unit
setVar (index : Int , v : Boolean )
Only intended for use by generated reflected code.
Unit
setVar (index : Int , o : BaseObj ! )
Only intended for use by generated reflected code.
Unit
setVar (index : Int , v : FieldPacker ! )
Only intended for use by generated reflected code.
Unit
setVar (index : Int , v : FieldPacker ! , e : Element ! , dims : IntArray ! )
Only intended for use by generated reflected code.
From class BaseObj
Unit
destroy ()
Frees any native resources associated with this object. The primary use is to force immediate cleanup of resources when it is believed the GC will not respond quickly enough.
Boolean
equals (other : Any ? )
Compare the current BaseObj with another BaseObj for equality.
Unit
finalize ()
String !
getName ()
Int
hashCode ()
Calculates the hash code value for a BaseObj.
Unit
setName (name : String ! )
setName assigns a name to an object. This object can later be looked up by this name.
Protected constructors
ScriptC
protected ScriptC ( id : Int , rs : RenderScript ! )
Only intended for use by the generated derived classes.
ScriptC
protected ScriptC ( id : Long , rs : RenderScript ! )
Only intended for use by the generated derived classes.
ScriptC
protected ScriptC ( rs : RenderScript ! , resources : Resources ! , resourceID : Int )
Only intended for use by the generated derived classes.