Freigeben über


MTLDevice_Extensions.CreateTexture Methode

Definition

Erstellt eine Metal-Textur mit den angegebenen Werten.

[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

Parameter

This
IMTLDevice

Die Instanz, auf der diese Methode ausgeführt wird.

iosurface
IOSurface
plane
System.System.UIntPtr System.unativeint

Gibt zurück

Attribute

Gilt für: