Compartilhar via


Allocation.Copy1DRangeToUnchecked Method

Definition

Overloads

Copy1DRangeToUnchecked(Int32, Int32, Single[])

Copy a 1D region of this Allocation into an array.

Copy1DRangeToUnchecked(Int32, Int32, Int32[])

Copy a 1D region of this Allocation into an array.

Copy1DRangeToUnchecked(Int32, Int32, Byte[])

Copy a 1D region of this Allocation into an array.

Copy1DRangeToUnchecked(Int32, Int32, Object)

Copy a 1D region of this Allocation into an array.

Copy1DRangeToUnchecked(Int32, Int32, Int16[])

Copy a 1D region of this Allocation into an array.

Copy1DRangeToUnchecked(Int32, Int32, Single[])

Copy a 1D region of this Allocation into an array.

[Android.Runtime.Register("copy1DRangeToUnchecked", "(II[F)V", "GetCopy1DRangeToUnchecked_IIarrayFHandler", ApiSince=23)]
public virtual void Copy1DRangeToUnchecked (int off, int count, float[]? d);
[<Android.Runtime.Register("copy1DRangeToUnchecked", "(II[F)V", "GetCopy1DRangeToUnchecked_IIarrayFHandler", ApiSince=23)>]
abstract member Copy1DRangeToUnchecked : int * int * single[] -> unit
override this.Copy1DRangeToUnchecked : int * int * single[] -> unit

Parameters

off
Int32

The offset of the first element to be copied.

count
Int32

The number of elements to be copied.

d
Single[]

the source array

Attributes

Remarks

Copy a 1D region of this Allocation into an array. This method does not guarantee that the Allocation is compatible with the input buffer.

The size of the region is: count * #getElement.Element#getBytesSize.

If the Allocation does not have Vec3 Elements, then the size of the array in bytes must be at least the size of the region.

If the Allocation has Vec3 Elements and #setAutoPadding AutoPadding is disabled, then the size of the array in bytes must be at least the size of the region. The padding bytes for the cells must be part of the array.

If the Allocation has Vec3 Elements and #setAutoPadding AutoPadding is enabled, then the size of the array in bytes must be at least 3/4 the size of the region. The padding bytes for the cells must not be part of the array.

Java documentation for android.renderscript.Allocation.copy1DRangeToUnchecked(int, int, float[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Copy1DRangeToUnchecked(Int32, Int32, Int32[])

Copy a 1D region of this Allocation into an array.

[Android.Runtime.Register("copy1DRangeToUnchecked", "(II[I)V", "GetCopy1DRangeToUnchecked_IIarrayIHandler", ApiSince=23)]
public virtual void Copy1DRangeToUnchecked (int off, int count, int[]? d);
[<Android.Runtime.Register("copy1DRangeToUnchecked", "(II[I)V", "GetCopy1DRangeToUnchecked_IIarrayIHandler", ApiSince=23)>]
abstract member Copy1DRangeToUnchecked : int * int * int[] -> unit
override this.Copy1DRangeToUnchecked : int * int * int[] -> unit

Parameters

off
Int32

The offset of the first element to be copied.

count
Int32

The number of elements to be copied.

d
Int32[]

the source array

Attributes

Remarks

Copy a 1D region of this Allocation into an array. This method does not guarantee that the Allocation is compatible with the input buffer.

The size of the region is: count * #getElement.Element#getBytesSize.

If the Allocation does not have Vec3 Elements, then the size of the array in bytes must be at least the size of the region.

If the Allocation has Vec3 Elements and #setAutoPadding AutoPadding is disabled, then the size of the array in bytes must be at least the size of the region. The padding bytes for the cells must be part of the array.

If the Allocation has Vec3 Elements and #setAutoPadding AutoPadding is enabled, then the size of the array in bytes must be at least 3/4 the size of the region. The padding bytes for the cells must not be part of the array.

Java documentation for android.renderscript.Allocation.copy1DRangeToUnchecked(int, int, int[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Copy1DRangeToUnchecked(Int32, Int32, Byte[])

Copy a 1D region of this Allocation into an array.

[Android.Runtime.Register("copy1DRangeToUnchecked", "(II[B)V", "GetCopy1DRangeToUnchecked_IIarrayBHandler", ApiSince=23)]
public virtual void Copy1DRangeToUnchecked (int off, int count, byte[]? d);
[<Android.Runtime.Register("copy1DRangeToUnchecked", "(II[B)V", "GetCopy1DRangeToUnchecked_IIarrayBHandler", ApiSince=23)>]
abstract member Copy1DRangeToUnchecked : int * int * byte[] -> unit
override this.Copy1DRangeToUnchecked : int * int * byte[] -> unit

Parameters

off
Int32

The offset of the first element to be copied.

count
Int32

The number of elements to be copied.

d
Byte[]

the source array

Attributes

Remarks

Copy a 1D region of this Allocation into an array. This method does not guarantee that the Allocation is compatible with the input buffer.

The size of the region is: count * #getElement.Element#getBytesSize.

If the Allocation does not have Vec3 Elements, then the size of the array in bytes must be at least the size of the region.

If the Allocation has Vec3 Elements and #setAutoPadding AutoPadding is disabled, then the size of the array in bytes must be at least the size of the region. The padding bytes for the cells must be part of the array.

If the Allocation has Vec3 Elements and #setAutoPadding AutoPadding is enabled, then the size of the array in bytes must be at least 3/4 the size of the region. The padding bytes for the cells must not be part of the array.

Java documentation for android.renderscript.Allocation.copy1DRangeToUnchecked(int, int, byte[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Copy1DRangeToUnchecked(Int32, Int32, Object)

Copy a 1D region of this Allocation into an array.

[Android.Runtime.Register("copy1DRangeToUnchecked", "(IILjava/lang/Object;)V", "GetCopy1DRangeToUnchecked_IILjava_lang_Object_Handler", ApiSince=23)]
public virtual void Copy1DRangeToUnchecked (int off, int count, Java.Lang.Object? array);
[<Android.Runtime.Register("copy1DRangeToUnchecked", "(IILjava/lang/Object;)V", "GetCopy1DRangeToUnchecked_IILjava_lang_Object_Handler", ApiSince=23)>]
abstract member Copy1DRangeToUnchecked : int * int * Java.Lang.Object -> unit
override this.Copy1DRangeToUnchecked : int * int * Java.Lang.Object -> unit

Parameters

off
Int32

The offset of the first element to be copied.

count
Int32

The number of elements to be copied.

array
Object

The dest array

Attributes

Remarks

Copy a 1D region of this Allocation into an array. This method does not guarantee that the Allocation is compatible with the input buffer.

The size of the region is: count * #getElement.Element#getBytesSize.

If the Allocation does not have Vec3 Elements, then the size of the array in bytes must be at least the size of the region.

If the Allocation has Vec3 Elements and #setAutoPadding AutoPadding is disabled, then the size of the array in bytes must be at least the size of the region. The padding bytes for the cells must be part of the array.

If the Allocation has Vec3 Elements and #setAutoPadding AutoPadding is enabled, then the size of the array in bytes must be at least 3/4 the size of the region. The padding bytes for the cells must not be part of the array.

Java documentation for android.renderscript.Allocation.copy1DRangeToUnchecked(int, int, java.lang.Object).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Copy1DRangeToUnchecked(Int32, Int32, Int16[])

Copy a 1D region of this Allocation into an array.

[Android.Runtime.Register("copy1DRangeToUnchecked", "(II[S)V", "GetCopy1DRangeToUnchecked_IIarraySHandler", ApiSince=23)]
public virtual void Copy1DRangeToUnchecked (int off, int count, short[]? d);
[<Android.Runtime.Register("copy1DRangeToUnchecked", "(II[S)V", "GetCopy1DRangeToUnchecked_IIarraySHandler", ApiSince=23)>]
abstract member Copy1DRangeToUnchecked : int * int * int16[] -> unit
override this.Copy1DRangeToUnchecked : int * int * int16[] -> unit

Parameters

off
Int32

The offset of the first element to be copied.

count
Int32

The number of elements to be copied.

d
Int16[]

the source array

Attributes

Remarks

Copy a 1D region of this Allocation into an array. This method does not guarantee that the Allocation is compatible with the input buffer.

The size of the region is: count * #getElement.Element#getBytesSize.

If the Allocation does not have Vec3 Elements, then the size of the array in bytes must be at least the size of the region.

If the Allocation has Vec3 Elements and #setAutoPadding AutoPadding is disabled, then the size of the array in bytes must be at least the size of the region. The padding bytes for the cells must be part of the array.

If the Allocation has Vec3 Elements and #setAutoPadding AutoPadding is enabled, then the size of the array in bytes must be at least 3/4 the size of the region. The padding bytes for the cells must not be part of the array.

Java documentation for android.renderscript.Allocation.copy1DRangeToUnchecked(int, int, short[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to