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