[](https://github.com/Jerrody/ash_shader_creator)   
   [](https://crates.io/crates/ash_shader_creator)
# ash_shader_creator
A library for easy to way automatically create multiple shader stages from the directory path.
```rust
use ash::{Device, PipelineShaderStageCreateFlags, PipelineShaderStageCreateInfo};
use std::path::Path;
ShaderStage::new(&device, &Path::new("example_path/compiled_shaders"))
.with_shader_stage_flags(shader_stage_flags)
.build();
```
### What the library can do?
- [x] Supports GLSL
- [x] Supports HLSL
- [ ] Creating shaders from multiple directories
### Important
For today, library can creates only shader stages from the names of compiled shaders that have:
- For the GLSL: <file_name>.vert.spv for the vertex shader and <file_name>.frag.spv for the fragment shader.
- For the HLSL: <file_name>.vs for the vertex shader and <file_name>.fs for the fragment shader.
#### Contacts
Discord: Жоржик#1991