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
Type: ubyte[]

RGBA by row

x
Type: int

x offset of the change

y
Type: int

y offset of the change

width
Type: int

width of the change

height
Type: int

height of the change

Meta