Move Pipeline struct definition after Layer in quad submodules
This commit is contained in:
parent
ef547469fd
commit
c319f5113b
2 changed files with 10 additions and 10 deletions
|
|
@ -15,11 +15,6 @@ pub struct Solid {
|
|||
pub quad: Quad,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Pipeline {
|
||||
pipeline: wgpu::RenderPipeline,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Layer {
|
||||
instances: Buffer<Solid>,
|
||||
|
|
@ -54,6 +49,11 @@ impl Layer {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Pipeline {
|
||||
pipeline: wgpu::RenderPipeline,
|
||||
}
|
||||
|
||||
impl Pipeline {
|
||||
pub fn new(
|
||||
device: &wgpu::Device,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue