implement Texture2D class, which is converted to Texture2D in HLSL and sampler2D in GLSL. close #8