Implement Debug for Texture and TextureBuilder
This commit is contained in:
parent
057d849e24
commit
a0df8d2bfc
|
@ -35,6 +35,7 @@ impl Default for TextureAttributes {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct TextureBuilder {
|
||||
pub attributes: TextureAttributes,
|
||||
}
|
||||
|
@ -102,6 +103,7 @@ impl TextureBuilder {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Texture {
|
||||
pub attributes: TextureAttributes,
|
||||
pub texture: wgpu::Texture,
|
||||
|
|
Loading…
Reference in New Issue