Texture.recreate

Recreates a width x height texture containing the pixel data using ubytes without disposing the old one.

  1. void recreate(uint width, uint height, void[] pixels)
  2. void recreate(uint width, uint height, int mode, void[] pixels)
    class Texture
    void
    recreate
    (
    uint width
    ,
    uint height
    ,
    int mode
    ,
    void[] pixels
    )
  3. void recreate(uint width, uint height, int inMode, int mode, void[] pixels, int type)

Meta