Skip to main content

generate

Function generate 

Source
pub fn generate(tex: NoiseTex, rng: &mut Rng, rules: &CompatRules) -> Vec<u8> ⓘ
Expand description

Generate one of the six built-in textures as RGBA8 (2D: row 0 first; 3D: z-major slices).