MTLDevice_Extensions.CreateTexture 方法

定义

创建具有指定值的金属纹理。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLTexture CreateTexture (this Metal.IMTLDevice This, Metal.MTLTextureDescriptor descriptor, IOSurface.IOSurface iosurface, nuint plane);
static member CreateTexture : Metal.IMTLDevice * Metal.MTLTextureDescriptor * IOSurface.IOSurface * nuint -> Metal.IMTLTexture

参数

This
IMTLDevice

此方法操作的实例。

iosurface
IOSurface
plane
System.System.UIntPtr System.unativeint

返回

属性

适用于