mod3d_gl/
texture.rs

1//a Imports
2
3//a Texture
4//tp Texture
5/// A null texture for now
6#[derive(Debug, Clone, Default)]
7pub struct Texture(u32);
8impl std::fmt::Display for Texture {
9    fn fmt(&self, fmt: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> {
10        write!(fmt, "{}", self.0)
11    }
12}
13
14//ip TextureClient for Texture
15impl mod3d_base::TextureClient for Texture {}