다음을 통해 공유


MTLDevice_Extensions.CreateSharedTexture 메서드

정의

오버로드

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

매개 변수

This
IMTLDevice
sharedHandle
MTLSharedTextureHandle

반환

특성

적용 대상

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

매개 변수

This
IMTLDevice

반환

특성

적용 대상