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
13
14
15
16
use crate::model_program_bundle::CommonPass;

pub trait Technique {
    fn execute<'a, 'b: 'a>(
        &'b mut self,
        material_index: usize,
        shadow_fallback_bind: &'a wgpu::BindGroup,
        texture_fallback_bind: &'a wgpu::BindGroup,
    ) -> Option<CommonPass<'a>>;

    fn reset_script_command_state(&self);

    fn reset_script_external_color(&self);

    fn has_next_script_command(&self) -> bool;
}