inochi2d v0.8.0 (2023-05-01T11:41:26Z)
Dub
Repo
Texture.setDataRegion
inochi2d
core
texture
Texture
Sets a region of a texture to new data
class
Texture
private public
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