MTLDevice_Extensions.CreateSharedTexture Method

Definition

Overloads

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

Parameters

This
IMTLDevice
sharedHandle
MTLSharedTextureHandle

Returns

Attributes

Applies to

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

Parameters

This
IMTLDevice

Returns

Attributes

Applies to