Android.Renderscripts.Allocation.Resize Method
Resize a 1D allocation.

Syntax

[Android.Runtime.Register("resize", "(I)V", "GetResize_IHandler")]
[System.Obsolete("deprecated")]
public virtual void Resize (int dimX)

Parameters

dimX
The new size of the allocation.

Remarks

Resize a 1D allocation. The contents of the allocation are preserved. If new elements are allocated objects are created with null contents and the new region is otherwise undefined.

If the new region is smaller the references of any objects outside the new region will be released.

A new type will be created with the new dimension.

[Android Documentation]

Requirements

Namespace: Android.Renderscripts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11