wuple 0.4.0

Simple, Performant rendering on WGPU
Documentation
1
2
3
4
5
6
7
8
use wgpu::{BindGroup, Buffer};

pub struct Shape {
    pub(crate) vertex_buffer: Buffer,
    pub(crate) index_buffer: Buffer,
    pub(crate) index_count: u32,
    pub(crate) bindgroup: Option<BindGroup>,
}