fn create_uniform_interface<Uni, E>(
  raw: &RawProgram,
  env: E,
) -> Result<(Uni, Vec<UniformWarning>), ProgramError>
where Uni: UniformInterface<E> {
  let mut builder = UniformBuilder::new(raw);
  let iface = Uni::uniform_interface(&mut builder, env)?;
  Ok((iface, builder.warnings))
}
// Generate a uniform interface and collect warnings.
Generate a uniform interface and collect warnings.
Generate a uniform interface and collect warnings .
fn create_uniform_interface<Uni, E>(
  raw: &RawProgram,
  env: E,
) -> Result<(Uni, Vec<UniformWarning>), ProgramError>
where Uni: UniformInterface<E> {
  let mut builder = UniformBuilder::new(raw);
  let iface = Uni::uniform_interface(&mut builder, env)?;
  Ok((iface, builder.warnings))
}
fn create_uniform_interface < Uni , E > ( raw : & RawProgram , env : E , ) -> Result < ( Uni , Vec < UniformWarning > ) , ProgramError > where Uni : UniformInterface < E > { let mut builder = UniformBuilder :: new ( raw ) ; let iface = Uni :: uniform_interface ( & mut builder , env ) ? ; Ok ( ( iface , builder . warnings ) ) }
Generate a uniform interface and collect warnings.
Generate a uniform interface and collect warnings .
raw
&RawProgram
env
E