Texture.create

Creates a width x height texture containing the pixel data in inMode format using type as array type and internally convertes to mode.

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

Meta