Deprecated in API level 31

Short2


public class Short2
extends Object

java.lang.Object
   ↳ android.renderscript.Short2


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.

Class for exposing the native RenderScript Short2 type back to the Android system. Vector version of the basic short type. Provides two short fields packed.

Summary

Fields

public short x

public short y

Public constructors

Short2()
Short2(short x, short y)

Inherited methods

Fields

x


Deprecated in API level 31
public short x

y


Deprecated in API level 31
public short y

Public constructors

Short2


Deprecated in API level 31
public Short2 ()

Short2


Deprecated in API level 31
public Short2 (short x, 
                short y)

Parameters
x short

y short