How do i get Alpha from Texture object that I have passed into custom blur function? Or is it possible to use TextureSample instead Object?

Nope, can’t do that. Result of a texture sample is some kind of value per pixel. Texture object is just reference to a texture.