Share via


IMTLIntersectionFunctionTable.SetBuffer(IMTLBuffer, UIntPtr, UIntPtr) Method

Definition

[Foundation.Export("setBuffer:offset:atIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetBuffer(Metal.IMTLBuffer? buffer, UIntPtr offset, UIntPtr index);
[<Foundation.Export("setBuffer:offset:atIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetBuffer : Metal.IMTLBuffer * unativeint * unativeint -> unit
override this.SetBuffer : Metal.IMTLBuffer * unativeint * unativeint -> unit

Parameters

buffer
IMTLBuffer
offset
UIntPtr

unativeint

index
UIntPtr

unativeint

Attributes

Applies to