Freigeben über


MTLDevice_Extensions.CreateSharedTexture Methode

Definition

Überlädt

CreateSharedTexture(IMTLDevice, MTLSharedTextureHandle)
CreateSharedTexture(IMTLDevice, MTLTextureDescriptor)

CreateSharedTexture(IMTLDevice, MTLSharedTextureHandle)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLTexture CreateSharedTexture (this Metal.IMTLDevice This, Metal.MTLSharedTextureHandle sharedHandle);
static member CreateSharedTexture : Metal.IMTLDevice * Metal.MTLSharedTextureHandle -> Metal.IMTLTexture

Parameter

This
IMTLDevice
sharedHandle
MTLSharedTextureHandle

Gibt zurück

Attribute

Gilt für:

CreateSharedTexture(IMTLDevice, MTLTextureDescriptor)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLTexture CreateSharedTexture (this Metal.IMTLDevice This, Metal.MTLTextureDescriptor descriptor);
static member CreateSharedTexture : Metal.IMTLDevice * Metal.MTLTextureDescriptor -> Metal.IMTLTexture

Parameter

This
IMTLDevice

Gibt zurück

Attribute

Gilt für: