Get rid of reflection in regards to getting info about textures and sampler states.