Implement Debug for Texture and TextureBuilder

This commit is contained in:
Jarrod Doyle 2023-04-24 13:50:01 +01:00
parent 057d849e24
commit a0df8d2bfc
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 2 additions and 0 deletions

View File

@ -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,