1. 14 Feb, 2012 2 commits
    • Robert Menzel's avatar
      Automatic consistent attribute location mappings possible · 708174d6
      Robert Menzel authored
      Example:
      SharedLocationMappings globalLocationMappings = SharedLocationMappings( new LocationMappings );
      // now the map could get set by hand, but thats not needed:
      ShaderProgramFileManager::the()->get( ShaderProgramControlFiles("shader1").
                                            externAttributeLocations(globalLocationMappings) );
      // will add all maps from the shader1 to the global map
      ShaderProgramFileManager::the()->get( ShaderProgramControlFiles("shader2").
                                            externAttributeLocations(globalLocationMappings) );
      // will add all maps from shader2, attributes already known will not get changed, no location collitions.
      
      Reloading of the shaders due to changed files will automatically set the locations again.
      708174d6
    • Robert Menzel's avatar
  2. 13 Feb, 2012 2 commits
  3. 10 Feb, 2012 3 commits
  4. 09 Feb, 2012 7 commits
  5. 08 Feb, 2012 3 commits
  6. 07 Feb, 2012 4 commits
  7. 06 Feb, 2012 1 commit
  8. 05 Feb, 2012 7 commits
  9. 03 Feb, 2012 4 commits
  10. 02 Feb, 2012 7 commits