inochi2d v0.8.3 (2023-08-11T04:34:11Z)
Dub
Repo
Texture.this
inochi2d
core
texture
Texture
Creates a new texture from specified data
this
(string file, int channels)
this
(ShallowTexture shallow)
this
(int width, int height, int channels)
this
(ubyte[] data, int width, int height, int inChannels, int outChannels)
class
Texture
this
(
ubyte
[]
data
,
int
width
,
int
height
,
int
inChannels
= 4
,
int
outChannels
= 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
Creates a new texture from specified data