inochi2d ~master (2022-05-09T16:23:53.3795516)
Dub
Repo
Texture.this
inochi2d
core
texture
Texture
Creates a new texture from specified data
this
(string file)
this
(ShallowTexture shallow)
this
(int width, int height, GLuint mode, int alignment)
this
(ubyte[] data, int width, int height, GLuint mode, int alignment)
class
Texture
this
(
ubyte
[]
data
,
int
width
,
int
height
,
GLuint
mode
=
GL_RGBA
,
int
alignment
= 4
)
Meta
Source
See Implementation
inochi2d
core
texture
Texture
constructors
this
functions
bind
center
genMipmap
getTextureData
getTextureId
height
save
setData
setDataRegion
setFiltering
setWrapping
size
width
Creates a new texture from specified data