e2rcore/implement/render/
rendercommon.rs

1// use implement::math::mat::Mat4;
2// use implement::math::mat::Mat3x1;
3// use implement::render::camera;
4// use std::collections::HashMap;
5// use std::vec::Vec;
6
7// pub struct Vert {
8//     _id: u64,
9//     _coord: Vec< f64 >,
10//     _normal: Vec< f64 >,
11//     _tc: Vec< f64 >,
12// }
13
14// pub struct VertGroup {
15//     _id: u64,
16//     _vert_range: Vec< (usize,usize) >,
17//     _light_interfact_id: usize,
18//     _moveLview: Mat4< f64 >,
19// }
20
21// pub struct LightGroup {
22//     _light_ids: Vec< u64 >,
23// }
24
25// pub enum TargetType {
26//     FRAMEBUFFER,
27//     COLOURBUFFER,
28//     DEPTHBUFFER,
29// }
30
31// pub struct PipelineTarget {
32//     _target_type: TargetType,
33//     _target_id: u64,
34// }
35
36// pub struct PipelineArgRequire {
37//     _req_lights: Vec< u64 >,
38//     _req_vert_groups: Vec< u64 >,
39//     _req_cams: Vec< u64 >,
40//     _req_target: PipelineTarget,
41// }