We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e1918b commit a908d04Copy full SHA for a908d04
src/computepass.rs
@@ -21,6 +21,10 @@ impl ComputePassDescriptorRef {
21
) -> &ComputePassSampleBufferAttachmentDescriptorArrayRef {
22
unsafe { msg_send![self, sampleBufferAttachments] }
23
}
24
+
25
+ pub fn set_dispatch_type(&self, ty: MTLDispatchType) {
26
+ unsafe { msg_send![self, setDispatchType: ty] }
27
+ }
28
29
30
/// See <https://developer.apple.com/documentation/metal/mtlcomputepasssamplebufferattachmentdescriptorarray>
0 commit comments