diff --git a/src/main.rs b/src/main.rs index 59c940a..056d643 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,10 +97,14 @@ fn main() { } - // Basic usage of shader helper - // The code below returns a shader object, which contains the field .program_id - // The snippet is not enough to do the assignment, and will need to be modified (outside of just using the correct path), but it only needs to be called once - // shader::ShaderBuilder::new().attach_file("./path/to/shader").link(); + // Basic usage of shader helper: + // The example code below returns a shader object, which contains the field `.program_id`. + // The snippet is not enough to do the assignment, and will need to be modified (outside of + // just using the correct path), but it only needs to be called once + // + // shader::ShaderBuilder::new() + // .attach_file("./path/to/shader.file") + // .link(); unsafe { }