to StateAttribute::getModeUsage(StateAttribute::ModeUsage&).
From Robert, add .osg support for FragmentProgram.