MTLIndirectComputeCommand_Extensions.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.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void SetKernelBuffer(this Metal.IMTLIndirectComputeCommand This, Metal.IMTLBuffer buffer, UIntPtr offset, UIntPtr stride, UIntPtr index);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member SetKernelBuffer : Metal.IMTLIndirectComputeCommand * Metal.IMTLBuffer * unativeint * unativeint * unativeint -> unit
Parameters
- buffer
- IMTLBuffer
- offset
-
UIntPtr
unativeint
- stride
-
UIntPtr
unativeint
- index
-
UIntPtr
unativeint
- Attributes