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