diff --git a/src/computepass.rs b/src/computepass.rs index 50774d6..bb21a72 100644 --- a/src/computepass.rs +++ b/src/computepass.rs @@ -21,6 +21,10 @@ impl ComputePassDescriptorRef { ) -> &ComputePassSampleBufferAttachmentDescriptorArrayRef { unsafe { msg_send![self, sampleBufferAttachments] } } + + pub fn set_dispatch_type(&self, ty: MTLDispatchType) { + unsafe { msg_send![self, setDispatchType: ty] } + } } /// See