NGFX_GraphicsCapture_InjectionSettings_V1#

struct NGFX_GraphicsCapture_InjectionSettings_V1#

struct containing GraphicsCapture injection settings Note: these options mirror those displayed by ngfx-capture.exe —help, which is a useful reference

Public Members

uint32_t version#

Used for versioning; must be assigned a value of NGFX_GraphicsCapture_InjectionSettings_VER.

bool noHUD#

Disable the heads-up display (HUD) during capture.

NGFX_GraphicsCapture_HudPosition hudPosition#

Position of the HUD on screen during capture.

bool newConsole#

Launch the application in a new console window.

bool terminateAfterCapture#

Automatically terminate the application after capture completes.

const char *outputFile#

Path to the output capture file.

If NULL, a default name is used.

const char *outputDir#

Directory where capture files will be saved.

If NULL, current directory is used.

uint32_t frameCount#

Maximum number of frames to capture.

Default is 1 if not specified.

bool bundleReplayer#

Bundle the replayer with the capture file for easier distribution.

bool nonPortable#

Create a non-portable capture file (may be smaller but requires specific environment).

NGFX_GraphicsCapture_Compression compression#

Compression level for the capture file.

bool captureDefaultHotkey#

Enable capture using the default hotkey (F11).

const char *captureHotkey#

Custom hotkey string for triggering capture.

uint32_t captureFrame#

Frame number at which to automatically start capture (1-based indexing).

uint32_t captureCountdownTimer#

Timer in seconds before automatically starting capture.

bool captureUntilHotkey#

Capture until hotkey is pressed or after capturing capturing max number of frames.

NGFX_GraphicsCapture_HvvmMode hvvmMode#

Host Visible Video Memory mode for capture.

bool useRTASSerializeAPI#

Use RTAS serialize API for ray tracing acceleration structures.

uint64_t maxSBTSize#

Max shader binding table deep copy size in bytes.

0 indicates unbounded size.

uint64_t d3d12IndirectSBTBufferSize#

Buffer size for D3D12 indirect shader binding tables.

bool ignoreIncompatible#

Ignore incompatible features and continue capture.

bool noLazyDataCollection#

Disable lazy data collection (may improve performance).

bool noBlockOnFirstIncompatibility#

Don’t block capture on first incompatibility encountered.

bool noInternalPipelineCaches#

Disable internal pipeline cache usage.

bool noUncachedMemoryDemotion#

Disable uncached memory demotion.

bool noStreamlineCapture#

Disable Streamline capture integration.

bool noVulkanWriteWatchMemory#

Disable Vulkan write-watch memory tracking.

bool noVulkanCaptureReplayMemory#

Disable Vulkan capture/replay memory optimization.

bool noVulkanPrivateDataLookups#

Disable Vulkan private data lookups.

bool captureFullGPUAllocations#

Capture full GPU allocations (may increase file size significantly).