GeneralS

Type Alias GeneralS 

Source
pub type GeneralS = General<TypePackSource>;

Aliased Type§

pub struct GeneralS {
    pub basecolor: TexVar<Arc<Texture>, Matrix<i32, Const<3>, Const<1>, ArrayStorage<i32, 3, 1>>>,
    pub roughness: TexVar<Arc<Texture>, u8>,
    pub metalness: TexVar<Arc<Texture>, u8>,
    pub normal: TexVar<Arc<Texture>, Matrix<i32, Const<3>, Const<1>, ArrayStorage<i32, 3, 1>>>,
}

Fields§

§basecolor: TexVar<Arc<Texture>, Matrix<i32, Const<3>, Const<1>, ArrayStorage<i32, 3, 1>>>§roughness: TexVar<Arc<Texture>, u8>§metalness: TexVar<Arc<Texture>, u8>§normal: TexVar<Arc<Texture>, Matrix<i32, Const<3>, Const<1>, ArrayStorage<i32, 3, 1>>>

If no texture, value will be ignored (because mesh already has one)

Implementations§