Texture.createForData

Creates a new texture with the given texture data.

class Texture
@nogc static
createForData

Parameters

data TextureData

The data to use for creation.

Meta