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

返回

属性

适用于