Removed istream support with shader_resource
Restructured the shader_resource ctor to improve style