IMTLTextureViewPool.SetTextureView 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 |
|---|---|
| SetTextureView(IMTLTexture, UIntPtr) | |
| SetTextureView(IMTLTexture, MTLTextureViewDescriptor, UIntPtr) |
SetTextureView(IMTLTexture, UIntPtr)
[Foundation.Export("setTextureView:atIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.MTLResourceId SetTextureView(Metal.IMTLTexture texture, UIntPtr index);
[<Foundation.Export("setTextureView:atIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetTextureView : Metal.IMTLTexture * unativeint -> Metal.MTLResourceId
override this.SetTextureView : Metal.IMTLTexture * unativeint -> Metal.MTLResourceId
Parameters
- texture
- IMTLTexture
- index
-
UIntPtr
unativeint
Returns
- Attributes
Applies to
SetTextureView(IMTLTexture, MTLTextureViewDescriptor, UIntPtr)
[Foundation.Export("setTextureView:descriptor:atIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.MTLResourceId SetTextureView(Metal.IMTLTexture texture, Metal.MTLTextureViewDescriptor descriptor, UIntPtr index);
[<Foundation.Export("setTextureView:descriptor:atIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetTextureView : Metal.IMTLTexture * Metal.MTLTextureViewDescriptor * unativeint -> Metal.MTLResourceId
override this.SetTextureView : Metal.IMTLTexture * Metal.MTLTextureViewDescriptor * unativeint -> Metal.MTLResourceId
Parameters
- texture
- IMTLTexture
- descriptor
- MTLTextureViewDescriptor
- index
-
UIntPtr
unativeint
Returns
- Attributes