pub type Tex2d<S, F> = Tex<S, F, GL_TEXTURE_2D>;
struct Tex2d<S, F> { pub param: TexParam, /* private fields */ }
param: TexParam