Condividi tramite


Allocation.Copy1DRangeFromUnchecked Method

Definition

Overloads

Copy1DRangeFromUnchecked(Int32, Int32, Single[])

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

Copy1DRangeFromUnchecked(Int32, Int32, Int32[])

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

Copy1DRangeFromUnchecked(Int32, Int32, Object)

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

Copy1DRangeFromUnchecked(Int32, Int32, Byte[])

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

Copy1DRangeFromUnchecked(Int32, Int32, Int16[])

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

Copy1DRangeFromUnchecked(Int32, Int32, Single[])

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

[Android.Runtime.Register("copy1DRangeFromUnchecked", "(II[F)V", "GetCopy1DRangeFromUnchecked_IIarrayFHandler")]
public virtual void Copy1DRangeFromUnchecked (int off, int count, float[]? d);
[<Android.Runtime.Register("copy1DRangeFromUnchecked", "(II[F)V", "GetCopy1DRangeFromUnchecked_IIarrayFHandler")>]
abstract member Copy1DRangeFromUnchecked : int * int * single[] -> unit
override this.Copy1DRangeFromUnchecked : 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 an array into a 1D region of this Allocation. 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.copy1DRangeFromUnchecked(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

Copy1DRangeFromUnchecked(Int32, Int32, Int32[])

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

[Android.Runtime.Register("copy1DRangeFromUnchecked", "(II[I)V", "GetCopy1DRangeFromUnchecked_IIarrayIHandler")]
public virtual void Copy1DRangeFromUnchecked (int off, int count, int[]? d);
[<Android.Runtime.Register("copy1DRangeFromUnchecked", "(II[I)V", "GetCopy1DRangeFromUnchecked_IIarrayIHandler")>]
abstract member Copy1DRangeFromUnchecked : int * int * int[] -> unit
override this.Copy1DRangeFromUnchecked : 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 an array into a 1D region of this Allocation. 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.copy1DRangeFromUnchecked(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

Copy1DRangeFromUnchecked(Int32, Int32, Object)

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

[Android.Runtime.Register("copy1DRangeFromUnchecked", "(IILjava/lang/Object;)V", "GetCopy1DRangeFromUnchecked_IILjava_lang_Object_Handler")]
public virtual void Copy1DRangeFromUnchecked (int off, int count, Java.Lang.Object? array);
[<Android.Runtime.Register("copy1DRangeFromUnchecked", "(IILjava/lang/Object;)V", "GetCopy1DRangeFromUnchecked_IILjava_lang_Object_Handler")>]
abstract member Copy1DRangeFromUnchecked : int * int * Java.Lang.Object -> unit
override this.Copy1DRangeFromUnchecked : 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 source array

Attributes

Remarks

Copy an array into a 1D region of this Allocation. 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.copy1DRangeFromUnchecked(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

Copy1DRangeFromUnchecked(Int32, Int32, Byte[])

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

[Android.Runtime.Register("copy1DRangeFromUnchecked", "(II[B)V", "GetCopy1DRangeFromUnchecked_IIarrayBHandler")]
public virtual void Copy1DRangeFromUnchecked (int off, int count, byte[]? d);
[<Android.Runtime.Register("copy1DRangeFromUnchecked", "(II[B)V", "GetCopy1DRangeFromUnchecked_IIarrayBHandler")>]
abstract member Copy1DRangeFromUnchecked : int * int * byte[] -> unit
override this.Copy1DRangeFromUnchecked : 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 an array into a 1D region of this Allocation. 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.copy1DRangeFromUnchecked(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

Copy1DRangeFromUnchecked(Int32, Int32, Int16[])

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

[Android.Runtime.Register("copy1DRangeFromUnchecked", "(II[S)V", "GetCopy1DRangeFromUnchecked_IIarraySHandler")]
public virtual void Copy1DRangeFromUnchecked (int off, int count, short[]? d);
[<Android.Runtime.Register("copy1DRangeFromUnchecked", "(II[S)V", "GetCopy1DRangeFromUnchecked_IIarraySHandler")>]
abstract member Copy1DRangeFromUnchecked : int * int * int16[] -> unit
override this.Copy1DRangeFromUnchecked : 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 an array into a 1D region of this Allocation. 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.copy1DRangeFromUnchecked(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