km-engine ~master (2022-05-09T12:27:43.0681511)
Dub
Repo
Texture.this
engine
render
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
engine
render
texture
Texture
constructors
this
functions
bind
height
setData
setDataRegion
setFiltering
setWrapping
width
Creates a new texture from specified data