1- use crate :: VertexFormat ;
1+ use crate :: { link_to_wgpu_docs , link_to_wgpu_item , VertexFormat } ;
22#[ cfg( feature = "serde" ) ]
33use alloc:: fmt;
44use alloc:: vec:: Vec ;
@@ -800,10 +800,10 @@ bitflags_array! {
800800 ///
801801 /// This is a native only feature.
802802 ///
803- /// [ `RenderPass::multi_draw_indirect`]: ../wgpu/ struct.RenderPass.html#method.multi_draw_indirect
804- /// [ `RenderPass::multi_draw_indexed_indirect`]: ../wgpu/ struct.RenderPass.html#method.multi_draw_indexed_indirect
805- /// [ `RenderPass::multi_draw_indirect_count`]: ../wgpu/ struct.RenderPass.html#method.multi_draw_indirect_count
806- /// [ `RenderPass::multi_draw_indexed_indirect_count`]: ../wgpu/ struct.RenderPass.html#method.multi_draw_indexed_indirect_count
803+ # [ doc = link_to_wgpu_docs! ( [ " `RenderPass::multi_draw_indirect`" ] : " struct.RenderPass.html#method.multi_draw_indirect" ) ]
804+ # [ doc = link_to_wgpu_docs! ( [ " `RenderPass::multi_draw_indexed_indirect`" ] : " struct.RenderPass.html#method.multi_draw_indexed_indirect" ) ]
805+ # [ doc = link_to_wgpu_docs! ( [ " `RenderPass::multi_draw_indirect_count`" ] : " struct.RenderPass.html#method.multi_draw_indirect_count" ) ]
806+ # [ doc = link_to_wgpu_docs! ( [ " `RenderPass::multi_draw_indexed_indirect_count`" ] : " struct.RenderPass.html#method.multi_draw_indexed_indirect_count" ) ]
807807 const MULTI_DRAW_INDIRECT_COUNT = 1 << 15 ;
808808 /// Allows the use of push constants: small, fast bits of memory that can be updated
809809 /// inside a [`RenderPass`].
@@ -828,9 +828,9 @@ bitflags_array! {
828828 ///
829829 /// This is a native only feature.
830830 ///
831- /// [`RenderPass`]: ../wgpu/ struct. RenderPass.html
832- /// [`PipelineLayoutDescriptor`]: ../wgpu/ struct. PipelineLayoutDescriptor.html
833- /// [ `RenderPass::set_push_constants`]: ../wgpu/ struct.RenderPass.html#method.set_push_constants
831+ # [ doc = link_to_wgpu_item! ( struct RenderPass ) ]
832+ # [ doc = link_to_wgpu_item! ( struct PipelineLayoutDescriptor ) ]
833+ # [ doc = link_to_wgpu_docs! ( [ " `RenderPass::set_push_constants`" ] : " struct.RenderPass.html#method.set_push_constants" ) ]
834834 /// [`Limits::max_push_constant_size`]: super::Limits
835835 const PUSH_CONSTANTS = 1 << 16 ;
836836 /// Allows the use of [`AddressMode::ClampToBorder`] with a border color
0 commit comments