  */
 struct Texture2D : Texture
 {
-  //std::uint32_t width, height;
-
   __host__ Texture2D(void* data, size_type pitch,
                      cudaChannelFormatDesc channel_desc,
                      imp::Size2u size,

struct Texture
{
  cudaTextureObject_t tex_object;
//  bool normalized_coords;

  __host__ Texture() = default;
  __host__ virtual ~Texture() = default;

                     cudaTextureReadMode read_mode = cudaReadModeElementType)
    : Texture()
  {
    cudaResourceDesc tex_res;
    std::memset(&tex_res, 0, sizeof(tex_res));
    tex_res.resType = cudaResourceTypePitch2D;
