image

    Dark Mode
Search:
Group by:

Types

GlTexture = object
  texture*: GLuint
  size*: Vector2Ref

Procs

proc load(file: cstring; size: var Vector2Ref): GLuint {...}{.raises: [GLerror], tags: [].}

Loads image from file and returns texture ID.

Arguments:

  • file - image path.
proc load(file: cstring): GlTexture {...}{.raises: [GLerror], tags: [].}

Loads GL texture.

Arguments:

  • file - image path.