Texture.this

Constructs a Texture from an image file got from imagePath

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

Parameters

imagePath string

path to the image to be used as a source to construct the texture

Meta