Tex2D.this

Creates an empty texture. Compressing is not allowed, because compressed texture cannot use glTexSubImage2D.

  1. this(B bmp, bool compress)
  2. this(vec2i sz, uint lpp)
    class Tex2D
    this
    (
    vec2i sz
    ,
    uint lpp = 4
    )

Meta