JVM | Platform | Status |
---|---|---|
OpenJDK (Temurin) Current | Linux | |
OpenJDK (Temurin) LTS | Linux | |
OpenJDK (Temurin) Current | Windows | |
OpenJDK (Temurin) LTS | Windows |
A Java interface to the RenderDoc API.
- A friendly Java interface to the RenderDoc API.
- JPMS-ready.
- ISC license.
When running your application, you must allow access to the
FFM API for the module
com.io7m.renderdoc_jffm.core
:
$ java --enable-native-access=com.io7m.renderdoc_jffm.core ...
Run your application from RenderDoc. RenderDoc works by injecting a native
library into your application. Then, inside your application, call
RenderDoc.open()
:
try (final var doc = RenderDoc.open()) {
...
}
The obtained RenderDocType
interface is a type-safe, memory-safe interface
to the API exposed by the RenderDoc native library. The interface allows for
setting options and triggering captures.
The open()
method will raise an IOException
with a useful error message
if the renderdoc
native library is not present in the current application
process.