implement SampleTexture, Sampler type, and change GetTextureSize