Texture.update

Updates part of the texture

  1. void update(ubyte[] data)
  2. void update(ubyte[] data, int x, int y, int width, int height)
    class Texture
    void
    update
    (
    ubyte[] data
    ,
    int x
    ,
    int y
    ,
    int width
    ,
    int height
    )

Parameters

data ubyte[]

RGBA by row

x int

x offset of the change

y int

y offset of the change

width int

width of the change

height int

height of the change

Meta