Partager via


MTLDevice_Extensions.CreateSharedTexture Méthode

Définition

Surcharges

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

Paramètres

This
IMTLDevice
sharedHandle
MTLSharedTextureHandle

Retours

Attributs

S’applique à

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

Paramètres

This
IMTLDevice

Retours

Attributs

S’applique à