provaengine v0.2.0-alpha (2018-03-19T00:32:13Z)
Dub
Repo
Texture.update
prova
graphics
primitives
texture
Texture
Updates the texture
void
update
(ubyte[] data)
class
Texture
void
update
(
ubyte
[]
data
)
void
update
(ubyte[] data, int x, int y, int width, int height)
Parameters
data
ubyte
[]
RGBA by row
Meta
Source
See Implementation
prova
graphics
primitives
texture
Texture
constructors
this
destructors
~this
functions
bind
getData
recreate
resize
update
properties
height
width
static functions
cacheFile
cleanUp
fetch
variables
id
Updates the texture