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