OpenGlTexture.bindFrom

After you delete it with dispose, you may rebind it to something else with this.

If the current thread doesn't own an opengl context, it will save the image to try to lazy load it later.

  1. void bindFrom(TrueColorImage from)
  2. void bindFrom(FONT* font, int size, T[] text)
    class OpenGlTexture
    void
    bindFrom
    (
    T
    FONT
    )
    (
    FONT* font
    ,
    int size
    ,
    in T[] text
    )
    if (
    is(T == char)
    )

Meta