Function generate_mipmap_fragment

Source
pub fn generate_mipmap_fragment(
    texture: &Image2d,
    sampler: &Sampler,
    in_uv: Vec2,
    frag_color: &mut Vec4,
)
Expand description

Fragment shader for generating texture mips.