Sampler States

added sampler states for working with compressed textures(while using -swf-version==17,18,19) and small refactoring in ATFTextureResource