2024-05-11 23:24:13 +02:00
|
|
|
package razorcapture
|
|
|
|
|
|
|
|
|
|
import "core:c"
|
|
|
|
|
|
|
|
|
|
foreign import razorcapture "system:SceRazorCapture_stub"
|
|
|
|
|
|
|
|
|
|
foreign razorcapture {
|
|
|
|
|
/**
|
|
|
|
|
* Sets a trigger for a gpu capture in next frame from Razor debugger
|
|
|
|
|
*
|
|
|
|
|
* @param[in] filename - Filename of the file where to save capture results
|
|
|
|
|
*/
|
2024-05-13 16:04:23 +02:00
|
|
|
sceRazorGpuCaptureSetTriggerNextFrame :: proc(filename: cstring) ---
|
2024-05-11 23:24:13 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Enables collecting of GPU captures when a gpucrash happens
|
|
|
|
|
*
|
|
|
|
|
* @param[in] filename - Filename of the file where to save capture results
|
|
|
|
|
*/
|
2024-05-13 16:04:23 +02:00
|
|
|
sceRazorGpuCaptureEnableSalvage :: proc(filename: cstring) ---
|
2024-05-11 23:24:13 +02:00
|
|
|
}
|