Texture.this

Constructs an empty Texture with the specified width and height, and fills it with color clearColor

  1. this(string imagePath)
  2. this(uint width, uint height, uint clearColor)
    class Texture
    this
    (
    uint width
    ,
    uint height
    ,
    uint clearColor = 0xffffffff
    )

Parameters

width uint

width of the texture to be constructed

height uint

height of the texture to be constructed

clearColor uint

color to be filled with

Meta