mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 21:26:12 +00:00
Move new extension creation wizard to python scripting
* We remove the operations and interactions from the extension manager and leave it purely for browsing extensions and enabling/disabling them.
This commit is contained in:
@@ -8,6 +8,9 @@ Example extensions can be found at the `community contributed repository <https:
|
||||
Creating extensions
|
||||
-------------------
|
||||
|
||||
.. tip::
|
||||
You can ask RenderDoc to create an empty extension for you from the :doc:`python scripting <../window/python_scripting>` window.
|
||||
|
||||
Extensions are simply python modules located in the user's RenderDoc config folder, with a json manifest. The config folder varies by platform, on Windows it's ``%APPDATA%\qrenderdoc\extensions`` and on linux it's ``~/.local/share/qrenderdoc/extensions``. Each extension is a python module subfolder under this root. You can nest subfolders, e.g. ``extensions/foo/bar/first`` would be the extension ``foo.bar.first``, and treated independently from ``extensions/foo/bar/second``.
|
||||
|
||||
Next to each python module's ``__init__.py`` you should create a file ``extension.json`` following this template:
|
||||
|
||||
Reference in New Issue
Block a user