ShaderState: Reduce hash-map utilization at shader switch (reset uniforms/attributes); Refine API doc.