Enums


Public Member Functions

  • Camera ()
  • ~Camera ()
  • void
    initialize ()
  • std::vector< DeviceInfoRef >
    enumerateDevices () const
  • void
    startCapture (const std::string &deviceId, int width, int height)
  • void
    stopCapture ()
  • bool
    isNewFrameAvailable () const
  • void
    clearNewFrameAvailable ()
  • void
    initPreviewTexture (int textureId)
  • void
    updateTexImage ()
  • void
    getPixels (Surface8u *outSurface) const

Static Public Member Functions

  • getInstance ()
  • void
    destroyInstance ()

Friends