編輯

共用方式為


IMTLRenderCommandEncoder.SetVertexBuffer(IMTLBuffer, nuint, nuint) Method

Definition

[Foundation.Export("setVertexBuffer:offset:atIndex:")]
[Foundation.Preserve(Conditional=true)]
public void SetVertexBuffer (Metal.IMTLBuffer buffer, nuint offset, nuint index);
abstract member SetVertexBuffer : Metal.IMTLBuffer * nuint * nuint -> unit

Parameters

buffer
IMTLBuffer
offset
System.System.UIntPtr System.unativeint
index
System.System.UIntPtr System.unativeint
Attributes

Applies to