public
static
class
Type.Builder
extends Object
java.lang.Object | |
↳ | android.support.v8.renderscript.Type.Builder |
Builder class for Type.
Public constructors | |
---|---|
Type.Builder(RenderScript rs, Element e)
Create a new builder object. |
Public methods | |
---|---|
Type
|
create()
Validate structure and create a new Type. |
Type.Builder
|
setFaces(boolean value)
|
Type.Builder
|
setMipmaps(boolean value)
|
Type.Builder
|
setX(int value)
Add a dimension to the Type. |
Type.Builder
|
setY(int value)
|
Type.Builder
|
setYuvFormat(int yuvFormat)
Set the YUV layout for a Type. |
Type.Builder
|
setZ(int value)
|
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Type.Builder (RenderScript rs, Element e)
Create a new builder object.
Parameters | |
---|---|
e |
Element :
The element for the type to be created.
|
Type.Builder setYuvFormat (int yuvFormat)
Set the YUV layout for a Type.
Parameters | |
---|---|
yuvFormat |
int :
YV12 or NV21
|
Returns | |
---|---|
Type.Builder |