bevy_debug_grid 0.9.1

A bevy plugin for creating grids, for debugging purposes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#import bevy_pbr::forward_io::VertexOutput

struct SimpleLineMaterial {
    color: vec4<f32>,
};

@group(#{MATERIAL_BIND_GROUP}) @binding(0)
var<uniform> material: SimpleLineMaterial;

@fragment
fn fragment(
    mesh: VertexOutput,
) -> @location(0) vec4<f32> {
    return material.color;
}