Add Default impl for TextureBuilder
This commit is contained in:
parent
b848b78e86
commit
ee5308ac23
|
@ -44,16 +44,14 @@ impl Default for TextureAttributes {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Default)]
|
||||
pub struct TextureBuilder {
|
||||
pub attributes: TextureAttributes,
|
||||
}
|
||||
|
||||
impl TextureBuilder {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
attributes: Default::default(),
|
||||
}
|
||||
Self::default()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Reference in New Issue