summaryrefslogtreecommitdiff
path: root/bindgen/rust/celeritas-sys/src/lib.rs
blob: c5939fd40eaa1574ec5ebe0a56aed62d18114df0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

use serde::{Deserialize, Serialize};

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));


impl Default for ShaderBinding {
    fn default() -> Self {
        Self { label: todo!(),
          kind: ShaderBindingKind_BINDING_COUNT,
          vis: ShaderVisibility_VISIBILITY_VERTEX,
          data: todo!()
        }
    }
}

impl Default for ShaderDataLayout {
    fn default() -> Self {
        Self { bindings: [ShaderBinding::default(); 8], binding_count: 0 }
    }
}