@@ -115,8 +115,8 @@ fn prepare_wireframes(
115
115
116
116
/// Internal [`WireframePlugin`] resource.
117
117
/// [`GlobalWireframeBindGroup`] stores the [`BindGroup`] of wireframe data that is used on the GPU side.
118
- pub struct GlobalWireframeBindGroup {
119
- pub bind_group : BindGroup ,
118
+ struct GlobalWireframeBindGroup {
119
+ bind_group : BindGroup ,
120
120
}
121
121
122
122
fn queue_wireframes_bind_group (
@@ -179,21 +179,21 @@ impl Default for WireframeConfig {
179
179
/// [`WireframeUniformOffset`] holds the offset of a [`WireframeUniform`] in the [`GlobalWireframeMeta::uniforms`].
180
180
#[ derive( Component , Copy , Clone , Debug , Default ) ]
181
181
#[ repr( transparent) ]
182
- pub struct WireframeUniformOffset ( pub u32 ) ;
182
+ struct WireframeUniformOffset ( u32 ) ;
183
183
184
184
/// Internal [`WireframePlugin`] state.
185
185
/// [`WireframeUniform`] is the GPU representation of a [`Wireframe`].
186
186
#[ derive( Debug , AsStd140 ) ]
187
- pub struct WireframeUniform {
188
- pub color : Vec4 ,
187
+ struct WireframeUniform {
188
+ color : Vec4 ,
189
189
}
190
190
191
191
/// Internal [`WireframePlugin`] resource.
192
192
/// This is the data required for rendering [`Wireframe`]s.
193
193
#[ derive( Component ) ]
194
- pub struct GlobalWireframeMeta {
195
- pub uniforms : DynamicUniformVec < WireframeUniform > ,
196
- pub bind_group_layout : BindGroupLayout ,
194
+ struct GlobalWireframeMeta {
195
+ uniforms : DynamicUniformVec < WireframeUniform > ,
196
+ bind_group_layout : BindGroupLayout ,
197
197
}
198
198
199
199
impl FromWorld for GlobalWireframeMeta {
@@ -226,7 +226,7 @@ impl FromWorld for GlobalWireframeMeta {
226
226
227
227
/// Internal [`WireframePlugin`] resource.
228
228
/// [`WireframePipeline`] is the specialized rendering pipeline for wireframes.
229
- pub struct WireframePipeline {
229
+ struct WireframePipeline {
230
230
mesh_pipeline : MeshPipeline ,
231
231
wireframe_bind_group_layout : BindGroupLayout ,
232
232
shader : Handle < Shader > ,
@@ -315,7 +315,7 @@ fn queue_wireframes(
315
315
316
316
/// Internal [`WireframePlugin`] render command.
317
317
/// [`SetWireframeBindGroup`]`<bindgroup index>` binds the [`GlobalWireframeBindGroup`] there.
318
- pub struct SetWireframeBindGroup < const I : usize > ;
318
+ struct SetWireframeBindGroup < const I : usize > ;
319
319
impl < const I : usize > EntityRenderCommand for SetWireframeBindGroup < I > {
320
320
type Param = (
321
321
SRes < GlobalWireframeBindGroup > ,
0 commit comments