Share via


IMTLTextureViewPool.SetTextureView Method

Definition

Overloads

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
index
UIntPtr

unativeint

Returns

Attributes

Applies to