Removed view
Added uniform class
For type safety
Fixed compilation error in shader_resource