ImageView.this

Create an image node from given texture or filename.

Note, if a string is given, the texture will be loaded when resizing. This ensures a Fluid backend is available to load the texture.

  1. this(BasicNodeParam!index sup, T source, Vector2 minSize)
  2. this(NodeParams sup, T source, Vector2 minSize)
    class ImageView
    this
    (
    T
    )
    (
    NodeParams sup
    ,,)
  3. this(NodeParams sup, T source)

Parameters

source T

Texture struct to use, or a filename to load from.

minSize Vector2

Minimum size of the node. Defaults to image size.

Meta