IMTLDevice.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
| Name | Description |
|---|---|
| CreateSharedTexture(MTLSharedTextureHandle) | |
| CreateSharedTexture(MTLTextureDescriptor) |
CreateSharedTexture(MTLSharedTextureHandle)
[Foundation.Export("newSharedTextureWithHandle:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.IMTLTexture? CreateSharedTexture(Metal.MTLSharedTextureHandle sharedHandle);
[<Foundation.Export("newSharedTextureWithHandle:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateSharedTexture : Metal.MTLSharedTextureHandle -> Metal.IMTLTexture
override this.CreateSharedTexture : Metal.MTLSharedTextureHandle -> Metal.IMTLTexture
Parameters
- sharedHandle
- MTLSharedTextureHandle
Returns
- Attributes
Applies to
CreateSharedTexture(MTLTextureDescriptor)
[Foundation.Export("newSharedTextureWithDescriptor:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.IMTLTexture? CreateSharedTexture(Metal.MTLTextureDescriptor descriptor);
[<Foundation.Export("newSharedTextureWithDescriptor:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateSharedTexture : Metal.MTLTextureDescriptor -> Metal.IMTLTexture
override this.CreateSharedTexture : Metal.MTLTextureDescriptor -> Metal.IMTLTexture
Parameters
- descriptor
- MTLTextureDescriptor
Returns
- Attributes