Added non-const access function to resources and reverted back shader holders