mdanceio 0.1.2

MDanceIO is a MMD(MikuMikuDance) compatible implementation targeting at browser through wasm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug, Clone, Copy)]
pub struct Injector {
    // TODO
    pub pixel_format: wgpu::TextureFormat,
    pub viewport_size: [u32; 2],
}

impl Injector {
    pub fn texture_format(&self) -> wgpu::TextureFormat {
        self.pixel_format
    }
}