IMTLRenderCommandEncoder.SetVertexBuffer 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 |
|---|---|
| SetVertexBuffer(IMTLBuffer, UIntPtr, UIntPtr, UIntPtr) | |
| SetVertexBuffer(IMTLBuffer, UIntPtr, UIntPtr) |
SetVertexBuffer(IMTLBuffer, UIntPtr, UIntPtr, UIntPtr)
[Foundation.Export("setVertexBuffer:offset:attributeStride:atIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetVertexBuffer(Metal.IMTLBuffer? buffer, UIntPtr offset, UIntPtr stride, UIntPtr index);
[<Foundation.Export("setVertexBuffer:offset:attributeStride:atIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetVertexBuffer : Metal.IMTLBuffer * unativeint * unativeint * unativeint -> unit
override this.SetVertexBuffer : Metal.IMTLBuffer * unativeint * unativeint * unativeint -> unit
Parameters
- buffer
- IMTLBuffer
- offset
-
UIntPtr
unativeint
- stride
-
UIntPtr
unativeint
- index
-
UIntPtr
unativeint
- Attributes
Applies to
SetVertexBuffer(IMTLBuffer, UIntPtr, UIntPtr)
[Foundation.Export("setVertexBuffer:offset:atIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetVertexBuffer(Metal.IMTLBuffer buffer, UIntPtr offset, UIntPtr index);
[<Foundation.Export("setVertexBuffer:offset:atIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetVertexBuffer : Metal.IMTLBuffer * unativeint * unativeint -> unit
override this.SetVertexBuffer : Metal.IMTLBuffer * unativeint * unativeint -> unit
Parameters
- buffer
- IMTLBuffer
- offset
-
UIntPtr
unativeint
- index
-
UIntPtr
unativeint
- Attributes