pyRenderdocApp
A small wrapper for the renderdoc in-app api in python.
This project wraps the methods exposed by renderdoc_app.h with the python ctypes API. It's designed to closely match
the official API, with the main difference being that the function and parameter names have been converted to snake case
(ie: GetAPIVersion() --> get_api_version()). The original doc comments from renderdoc_app.h have also been ported
over (and modified where appropriate). For more information about using the Renderdoc in-app API, read the official
documentation: https://renderdoc.org/docs/in_application_api.html
Installing
Install with pip:
pip install pyRenderdocApp
The package includes renderdoc binaries for Windows and Mac.
Example
Here's what the example from the RenderDoc documentation (link) would look like in python:
from pyRenderdocApp import load_render_doc
# At init, load the renderdoc api
rdoc_api = load_render_doc()
# To start a frame capture, call StartFrameCapture.
# You can specify None, None for the device to capture on if you have only one device and
# either no windows at all or only one window, and it will capture from that device.
# See the documentation for a longer explanation
rdoc_api.start_frame_capture(None, None)
# Your rendering should happen here
# Stop the capture
rdoc_api.end_frame_capture(None, None)
Building
Build using build:
pip install build twine hatch
Build the wheel:
python -m build
Then to upload the package to PyPI, do:
twine upload dist/pyrenderdocapp*
Metadata
Release files for pyRenderdocApp 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrenderdocapp-0.1.5.tar.gz | 19.8 MB | Without provenance | Details for pyrenderdocapp-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrenderdocapp-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for pyrenderdocapp-0.1.5-py3-none-any.whl |
Total release size: 39.7 MB
Release files / pyrenderdocapp-0.1.5.tar.gz
| Download URL | pyrenderdocapp-0.1.5.tar.gz |
|---|---|
| Size | 19.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d787a4d60127023bba23ccacea01bbe2b90dc8be10daadbd37ee043492234056
|
|
BLAKE2b-256 checksum How to use checksums |
993684e19a7448d300e9d8de3aa75ade2e33b45119cf708752e3226e5577b955
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / pyrenderdocapp-0.1.5-py3-none-any.whl
| Download URL | pyrenderdocapp-0.1.5-py3-none-any.whl |
|---|---|
| Size | 19.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
573a643d3e48fc704263d51924bfb312f8fe7ad3cb2847a38e164e2889df56c8
|
|
BLAKE2b-256 checksum How to use checksums |
1e0cc91ee78241fc51e730716492a99489d4c184c13f515257c4ca4b6ba51b55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for pyRenderdocApp 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.