notan_graphics/
limits.rs

1// check this https://docs.rs/wgpu/0.8.1/wgpu/struct.Limits.html
2
3/// Limit are overridden by the graphic implementation
4#[derive(Debug, Clone, Copy)]
5pub struct Limits {
6    pub max_texture_size: u32,
7    pub max_uniform_blocks: u32,
8}
9
10impl Default for Limits {
11    fn default() -> Self {
12        Self {
13            max_texture_size: 8192,
14            max_uniform_blocks: 8,
15        }
16    }
17}