@@ -664,6 +664,16 @@ impl RenderPipelineDescriptorRef {
664
664
unsafe { msg_send ! [ self , setBinaryArchives: ns_array] }
665
665
}
666
666
667
+ /// API_AVAILABLE(macos(11.0), ios(14.0));
668
+ pub fn fragment_linked_functions ( & self ) -> & LinkedFunctionsRef {
669
+ unsafe { msg_send ! [ self , fragmentLinkedFunctions] }
670
+ }
671
+
672
+ /// API_AVAILABLE(macos(11.0), ios(14.0));
673
+ pub fn set_fragment_linked_functions ( & self , functions : & LinkedFunctionsRef ) {
674
+ unsafe { msg_send ! [ self , setFragmentLinkedFunctions: functions] }
675
+ }
676
+
667
677
pub fn reset ( & self ) {
668
678
unsafe { msg_send ! [ self , reset] }
669
679
}
@@ -688,6 +698,30 @@ impl RenderPipelineStateRef {
688
698
crate :: nsstring_as_str ( label)
689
699
}
690
700
}
701
+
702
+ /// Only available on (macos(11.0), ios(14.0))
703
+ pub fn new_intersection_function_table_with_descriptor (
704
+ & self ,
705
+ descriptor : & IntersectionFunctionTableDescriptorRef ,
706
+ stage : MTLRenderStages ,
707
+ ) -> IntersectionFunctionTable {
708
+ unsafe {
709
+ msg_send ! [ self , newIntersectionFunctionTableWithDescriptor: descriptor
710
+ stage: stage]
711
+ }
712
+ }
713
+
714
+ /// Only available on (macos(11.0), ios(14.0))
715
+ pub fn function_handle_with_function (
716
+ & self ,
717
+ function : & FunctionRef ,
718
+ stage : MTLRenderStages ,
719
+ ) -> Option < & FunctionHandleRef > {
720
+ unsafe {
721
+ msg_send ! [ self , functionHandleWithFunction: function
722
+ stage: stage]
723
+ }
724
+ }
691
725
}
692
726
693
727
/// See <https://developer.apple.com/documentation/metal/mtlrenderpipelinecolorattachmentdescriptorarray>
0 commit comments