km-engine v0.5.0 (2020-08-08T12:12:50Z)
Dub
Repo
Texture.this
engine
render
texture
Texture
Creates a texture from a ShallowTexture
this
(string file)
this
(ShallowTexture shallow)
class
Texture
this
(
ShallowTexture
shallow
)
this
(int width, int height, GLuint mode, int alignment)
this
(ubyte[] data, int width, int height, GLuint mode, int alignment)
Meta
Source
See Implementation
engine
render
texture
Texture
constructors
this
functions
bind
height
setData
setDataRegion
setFiltering
setWrapping
width
Creates a texture from a ShallowTexture