File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ impl AccelerationStructurePassSampleBufferAttachmentDescriptor {
72
72
}
73
73
74
74
impl AccelerationStructurePassSampleBufferAttachmentDescriptorRef {
75
- pub fn sample_buffer ( & self ) -> & CounterSampleBufferRef {
75
+ pub fn sample_buffer ( & self ) -> Option < & CounterSampleBufferRef > {
76
76
unsafe { msg_send ! [ self , sampleBuffer] }
77
77
}
78
78
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ impl BlitPassSampleBufferAttachmentDescriptor {
66
66
}
67
67
68
68
impl BlitPassSampleBufferAttachmentDescriptorRef {
69
- pub fn sample_buffer ( & self ) -> & CounterSampleBufferRef {
69
+ pub fn sample_buffer ( & self ) -> Option < & CounterSampleBufferRef > {
70
70
unsafe { msg_send ! [ self , sampleBuffer] }
71
71
}
72
72
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ impl ComputePassSampleBufferAttachmentDescriptor {
71
71
}
72
72
73
73
impl ComputePassSampleBufferAttachmentDescriptorRef {
74
- pub fn sample_buffer ( & self ) -> & CounterSampleBufferRef {
74
+ pub fn sample_buffer ( & self ) -> Option < & CounterSampleBufferRef > {
75
75
unsafe { msg_send ! [ self , sampleBuffer] }
76
76
}
77
77
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ impl RenderPassSampleBufferAttachmentDescriptor {
266
266
}
267
267
268
268
impl RenderPassSampleBufferAttachmentDescriptorRef {
269
- pub fn sample_buffer ( & self ) -> & CounterSampleBufferRef {
269
+ pub fn sample_buffer ( & self ) -> Option < & CounterSampleBufferRef > {
270
270
unsafe { msg_send ! [ self , sampleBuffer] }
271
271
}
272
272
You can’t perform that action at this time.
0 commit comments