Link to renderdoc-contrib repository

This commit is contained in:
baldurk
2021-01-27 12:50:29 +00:00
parent 29c5965599
commit 3f637e0d9b
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -15,6 +15,7 @@ To install on windows run the appropriate installer for your OS ([64-bit](https:
* **Contact**: [baldurk@baldurk.org](mailto:baldurk@baldurk.org), [#renderdoc on freenode IRC](https://kiwiirc.com/client/irc.freenode.net/#renderdoc), [Discord server](https://discord.gg/ahq6yRB)
* **Code of Conduct**: [Contributor Covenant](docs/CODE_OF_CONDUCT.md)
* **Information for contributors**: [All contribution information](docs/CONTRIBUTING.md), [Compilation instructions](docs/CONTRIBUTING/Compiling.md), [Roadmap](https://github.com/baldurk/renderdoc/wiki/Roadmap)
* **Community extensions**: [Extensions repository](https://github.com/baldurk/renderdoc-contrib)
Screenshots
--------------
+2
View File
@@ -3,6 +3,8 @@ How do I write a python extension?
RenderDoc supports python extensions using the :doc:`existing python API <../python_api/index>`. These extensions can be configured to be persistent and load whenever the RenderDoc UI does, allowing users to extend the program with custom functionality.
Example extensions can be found at the `community contributed repository <https://github.com/baldurk/renderdoc-contrib>`_.
Creating extensions
-------------------
@@ -63,10 +63,14 @@ ExtensionManager::ExtensionManager(ICaptureContext &ctx)
if(m_Extensions.isEmpty())
{
QString contrib_url = lit("https://github.com/baldurk/renderdoc-contrib");
ui->extensions->addTopLevelItem(
new RDTreeWidgetItem({QString(), lit("No extensions found available"), QString()}));
new RDTreeWidgetItem({QString(), tr("No extensions found available"), QString()}));
ui->extensions->addTopLevelItem(new RDTreeWidgetItem(
{QString(), lit("Create packages in %1").arg(extensionFolder), QString()}));
{QString(), tr("Create packages in %1").arg(extensionFolder), QString()}));
ui->extensions->addTopLevelItem(new RDTreeWidgetItem(
{QString(), tr("Browse extensions at %1").arg(contrib_url), QString()}));
ui->URL->setText(lit("<a href=\"%1\">%1</a>").arg(contrib_url));
}
else
{