pub fn new(shader: Arc<Shader>) -> Self {
                Self {
                    shader,
                    uniform_buffers: None,
                    texture_views_samplers: None,
                    uniform_bind_group: None,
                    texture_bind_group: None,
                    vertex_buffer: None,
                    index_buffer: None,
                    draw_range: 0 .. 0,
                }
            }
// TODO: Ergonomics
// - builder pattern
// TODO: Performance
// - update bindings in place (even by directly providing Arc<ResourceToShare>?)
// - no heap allocation: SmallVec replacing Vec or fixed size array for unif buffers and textures

Ergonomics
builder pattern
TODO: Performance
update bindings in place (even by directly providing Arc?)
no heap allocation: SmallVec replacing Vec or fixed size array for unif buffers and textures
Ergonomics builder pattern TODO : Performance update bindings in place ( even by directly providing Arc? ) no heap allocation : SmallVec replacing Vec or fixed size array for unif buffers and textures
pub fn new(shader: Arc<Shader>) -> Self {
                Self {
                    shader,
                    uniform_buffers: None,
                    texture_views_samplers: None,
                    uniform_bind_group: None,
                    texture_bind_group: None,
                    vertex_buffer: None,
                    index_buffer: None,
                    draw_range: 0 .. 0,
                }
            }
pub fn new ( shader : Arc < Shader > ) -> Self { Self { shader , uniform_buffers : None , texture_views_samplers : None , uniform_bind_group : None , texture_bind_group : None , vertex_buffer : None , index_buffer : None , draw_range : 0 .. 0 , } }
TODO: Ergonomics
 builder pattern
TODO: Performance
 update bindings in place (even by directly providing Arc<ResourceToShare>?)
TODO : Ergonomics builder pattern TODO : Performance update bindings in place ( even by directly providing Arc<ResourceToShare > ? )
shader
Arc<Shader>
shader
Arc<Shader>