共用方式為


MDLTexture.GetTexelDataWithTopLeftOrigin 方法

定義

多載

GetTexelDataWithTopLeftOrigin()

取得材質資料,讓第一個材質代表紋理左上角。

GetTexelDataWithTopLeftOrigin(nint, Boolean)

GetTexelDataWithTopLeftOrigin()

取得材質資料,讓第一個材質代表紋理左上角。

[Foundation.Export("texelDataWithTopLeftOrigin")]
public virtual Foundation.NSData GetTexelDataWithTopLeftOrigin ();
abstract member GetTexelDataWithTopLeftOrigin : unit -> Foundation.NSData
override this.GetTexelDataWithTopLeftOrigin : unit -> Foundation.NSData

傳回

屬性

適用於

GetTexelDataWithTopLeftOrigin(nint, Boolean)

[Foundation.Export("texelDataWithTopLeftOriginAtMipLevel:create:")]
public virtual Foundation.NSData GetTexelDataWithTopLeftOrigin (nint mipLevel, bool create);
abstract member GetTexelDataWithTopLeftOrigin : nint * bool -> Foundation.NSData
override this.GetTexelDataWithTopLeftOrigin : nint * bool -> Foundation.NSData

參數

mipLevel
System.System.IntPtr System.nativeint
create
Boolean

傳回

屬性

適用於