Texture.recreate

Recreates a width x height texture containing the pixel data in inMode format using type as array type and internally convertes to mode 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)
  3. void recreate(uint width, uint height, int inMode, int mode, void[] pixels, int type = GL_UNSIGNED_BYTE)
    class Texture
    void
    recreate
    (
    uint width
    ,
    uint height
    ,
    int inMode
    ,
    int mode
    ,
    void[] pixels
    ,
    int type = GL_UNSIGNED_BYTE
    )

Meta