inochi2d ~main (2026-08-20T13:21:03.36605)
Dub
Repo
Texture.createForData
inochi2d
core
render
texture
Texture
Creates a new texture with the given texture data.
class
Texture
@
nogc
static
Texture
createForData
(
TextureData
data
)
Parameters
data
TextureData
The data to use for creation.
Meta
Source
See Implementation
inochi2d
core
render
texture
Texture
constructors
this
destructors
~this
functions
resize
properties
channels
format
height
length
pixels
width
static functions
create
createForData
variables
data
Creates a new texture with the given texture data.