inochi2d v0.8.3 (2023-08-11T04:34:11Z)
Dub
Repo
ShallowTexture.this
inochi2d
core
texture
ShallowTexture
Loads uncompressed texture from memory
this
(string file, int channels)
this
(ubyte[] buffer, int channels)
this
(ubyte[] buffer, int w, int h, int channels)
this
(ubyte[] buffer, int w, int h, int channels, int convChannels)
struct
ShallowTexture
this
(
ubyte
[]
buffer
,
int
w
,
int
h
,
int
channels
= 4
,
int
convChannels
= 4
)
Meta
Source
See Implementation
inochi2d
core
texture
ShallowTexture
constructors
this
functions
save
variables
channels
convChannels
data
height
width
Loads uncompressed texture from memory