Share via


IMTLTextureViewPool.SetTextureViewFromBuffer Method

Definition

[Foundation.Export("setTextureViewFromBuffer:descriptor:offset:bytesPerRow:atIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.MTLResourceId SetTextureViewFromBuffer(Metal.IMTLBuffer buffer, Metal.MTLTextureDescriptor descriptor, UIntPtr offset, UIntPtr bytesPerRow, UIntPtr index);
[<Foundation.Export("setTextureViewFromBuffer:descriptor:offset:bytesPerRow:atIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetTextureViewFromBuffer : Metal.IMTLBuffer * Metal.MTLTextureDescriptor * unativeint * unativeint * unativeint -> Metal.MTLResourceId
override this.SetTextureViewFromBuffer : Metal.IMTLBuffer * Metal.MTLTextureDescriptor * unativeint * unativeint * unativeint -> Metal.MTLResourceId

Parameters

buffer
IMTLBuffer
offset
UIntPtr

unativeint

bytesPerRow
UIntPtr

unativeint

index
UIntPtr

unativeint

Returns

Attributes

Applies to