MTLDevice_Extensions.CreateSharedTexture Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- descriptor
- MTLTextureDescriptor
Returns
- Attributes