Allocation.Copy3DRangeFrom 方法

定義

多載

名稱 Description
Copy3DRangeFrom(Int32, Int32, Int32, Int32, Int32, Int32, Allocation, Int32, Int32, Int32)

將一個矩形區域從另一個配置複製到分配中。

Copy3DRangeFrom(Int32, Int32, Int32, Int32, Int32, Int32, Object)

從陣列複製到此配置中的三維區域。

Copy3DRangeFrom(Int32, Int32, Int32, Int32, Int32, Int32, Allocation, Int32, Int32, Int32)

將一個矩形區域從另一個配置複製到分配中。

[Android.Runtime.Register("copy3DRangeFrom", "(IIIIIILandroid/renderscript/Allocation;III)V", "GetCopy3DRangeFrom_IIIIIILandroid_renderscript_Allocation_IIIHandler", ApiSince=23)]
public virtual void Copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Android.Renderscripts.Allocation? data, int dataXoff, int dataYoff, int dataZoff);
[<Android.Runtime.Register("copy3DRangeFrom", "(IIIIIILandroid/renderscript/Allocation;III)V", "GetCopy3DRangeFrom_IIIIIILandroid_renderscript_Allocation_IIIHandler", ApiSince=23)>]
abstract member Copy3DRangeFrom : int * int * int * int * int * int * Android.Renderscripts.Allocation * int * int * int -> unit
override this.Copy3DRangeFrom : int * int * int * int * int * int * Android.Renderscripts.Allocation * int * int * int -> unit

參數

xoff
Int32

在此配置中更新區域的 x 偏移量

yoff
Int32

在這個配置中更新區域的 y 個偏移量

zoff
Int32

在此配置中更新區域的Z偏移量

w
Int32

區域寬度需要更新。

h
Int32

區域高度待更新。

d
Int32

區域深度需更新。

data
Allocation

來源分配。

dataXoff
Int32

來源配置中區域的 X 偏移量

dataYoff
Int32

來源配置中區域的 y 偏移量

dataZoff
Int32

來源配置中區域的 Z 偏移量

屬性

備註

將一個矩形區域從另一個配置複製到分配中。

Java 文件 android.renderscript.Allocation.copy3DRangeFrom(int, int, int, int, int, int, android.renderscript.Allocation, int, int, int)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

Copy3DRangeFrom(Int32, Int32, Int32, Int32, Int32, Int32, Object)

從陣列複製到此配置中的三維區域。

[Android.Runtime.Register("copy3DRangeFrom", "(IIIIIILjava/lang/Object;)V", "GetCopy3DRangeFrom_IIIIIILjava_lang_Object_Handler", ApiSince=23)]
public virtual void Copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Java.Lang.Object? array);
[<Android.Runtime.Register("copy3DRangeFrom", "(IIIIIILjava/lang/Object;)V", "GetCopy3DRangeFrom_IIIIIILjava_lang_Object_Handler", ApiSince=23)>]
abstract member Copy3DRangeFrom : int * int * int * int * int * int * Java.Lang.Object -> unit
override this.Copy3DRangeFrom : int * int * int * int * int * int * Java.Lang.Object -> unit

參數

xoff
Int32

在此配置中更新區域的 x 偏移量

yoff
Int32

在這個配置中更新區域的 y 個偏移量

zoff
Int32

在此配置中更新區域的Z偏移量

w
Int32

區域寬度需更新

h
Int32

區域高度需更新

d
Int32

區域深度待更新

array
Object

被分配到分配中

屬性

備註

從陣列複製到此配置中的三維區域。 假設陣列是緊密排列的。 此變體會被類型檢查,若 android.renderscript.Element 配置與輸入資料型別不符,則會產生例外。

該區域的面積為:w * h * d * #getElementElement#getBytesSize..

若配置不含 Vec3 元素,則陣列的大小(位元組)必須至少等於該區域的大小。

若配置包含 Vec3 元素且 #setAutoPadding AutoPadding 被停用,則陣列的大小(位元組)必須至少等於該區域的大小。 儲存格的填充位元組必須是陣列的一部分。

若配置包含 Vec3 元素且 #setAutoPadding AutoPadding 啟用,則陣列大小(位元組)必須至少為區域大小的 3/4。 儲存格的填充位元組不得包含在陣列中。

Java 文件 android.renderscript.Allocation.copy3DRangeFrom(int, int, int, int, int, int, java.lang.Object)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於