diff options
author | jaseg <136313+jaseg@users.noreply.github.com> | 2021-01-19 18:55:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 18:55:45 +0100 |
commit | 5e581e817b79e15db814df9139057d1b78558e7a (patch) | |
tree | e136ba5f518443428d4e24e7a36295c92e7d3931 /README.rst | |
parent | fa1d9da6ab0cde297a661208d9901b46c59cb783 (diff) | |
download | python-mpv-5e581e817b79e15db814df9139057d1b78558e7a.tar.gz python-mpv-5e581e817b79e15db814df9139057d1b78558e7a.tar.bz2 python-mpv-5e581e817b79e15db814df9139057d1b78558e7a.zip |
Add dfaker's imgui/OpenGL demo
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -348,6 +348,11 @@ Using OpenGL from PyQt5/QML via new render context API Robozman_ has mangaed to `make mpv render into a PyQt5/QML widget using OpenGL <https://gitlab.com/robozman/python-mpv-qml-example>`__ through this python API. +Using mpv inside imgui inside OpenGL via GLFW +............................................. + +dfaker_ has written a demo (`link <https://github.com/dfaker/imgui_glfw_pythonmpv_demo/blob/main/main.py>`__) that uses mpv to render video into an `imgui <https://github.com/ocornut/imgui>`__ UI running on an OpenGL context inside `GLFW <https://www.glfw.org/>`__. Check out their demo to see how to integrate with imgui/OpenGL and how to access properties and manage the lifecycle of an MPV instance. + Coding Conventions ------------------ @@ -359,3 +364,4 @@ No tabs. Probably don't bother making pure-formatting PRs except if you think it .. _`mpv.py`: https://raw.githubusercontent.com/jaseg/python-mpv/master/mpv.py .. _cosven: https://github.com/cosven .. _Robozman: https://gitlab.com/robozman +.. _dfaker: https://github.com/dfaker |