inochi2d v0.8.3 (2023-08-11T04:34:11Z)
Dub
Repo
Texture.setDataRegion
inochi2d
core
texture
Texture
Sets a region of a texture to new data
class
Texture
void
setDataRegion
(
ubyte
[]
data
,
int
x
,
int
y
,
int
width
,
int
height
,
int
channels
= 4
)
Meta
Source
See Implementation
inochi2d
core
texture
Texture
constructors
this
destructors
~this
functions
bind
center
channels
colorMode
dispose
genMipmap
getRuntimeUUID
getTextureData
getTextureId
height
save
setAnisotropy
setData
setDataRegion
setFiltering
setWrapping
size
width
Sets a region of a texture to new data