docs
Loading...
Searching...
No Matches
ULGPUMemoryStats

#include <AppCore/CAPI.h>

Overview

GPU memory statistics reported by the App's GPU driver.

See also
ulAppGetGPUMemoryStats()

Public Attributes

uint64_t texture_bytes
 Bytes allocated for sampled textures (not counting render targets).
uint32_t texture_count
 Number of sampled textures currently allocated.
uint64_t render_target_bytes
 Bytes allocated for render targets, including multisample storage and any single-sample resolve textures.
uint32_t render_target_count
 Number of render-target textures currently allocated.
uint64_t geometry_bytes
 Bytes allocated for geometry (vertex and index buffers).
uint32_t geometry_count
 Number of geometry buffers currently allocated.
uint64_t swap_chain_bytes
 Bytes allocated for window back-buffers.
uint32_t swap_chain_count
 Number of swap chains currently active.
uint64_t transient_bytes
 Bytes allocated for transient per-frame memory (upload staging and constant buffers).
uint64_t allocator_committed_bytes
 Total bytes of GPU heap memory committed by the backend's allocator.
uint64_t process_usage_bytes
 Current video memory usage of this process, as reported by the operating system.
uint64_t process_budget_bytes
 Video memory budget for this process, as reported by the operating system.
uint64_t adapter_video_memory_bytes
 Dedicated video memory of the active display adapter, in bytes.
char adapter_description [128]
 Human-readable name of the active display adapter (UTF-8, null-terminated, truncated if necessary).

Member Data Documentation

◆ adapter_description

char adapter_description[128]

Human-readable name of the active display adapter (UTF-8, null-terminated, truncated if necessary).

◆ adapter_video_memory_bytes

uint64_t adapter_video_memory_bytes

Dedicated video memory of the active display adapter, in bytes.

◆ allocator_committed_bytes

uint64_t allocator_committed_bytes

Total bytes of GPU heap memory committed by the backend's allocator.

Only reported by backends that sub-allocate resources from larger heaps; zero elsewhere.

◆ geometry_bytes

uint64_t geometry_bytes

Bytes allocated for geometry (vertex and index buffers).

◆ geometry_count

uint32_t geometry_count

Number of geometry buffers currently allocated.

◆ process_budget_bytes

uint64_t process_budget_bytes

Video memory budget for this process, as reported by the operating system.

Zero if the OS query is unavailable.

◆ process_usage_bytes

uint64_t process_usage_bytes

Current video memory usage of this process, as reported by the operating system.

Zero if the OS query is unavailable.

◆ render_target_bytes

uint64_t render_target_bytes

Bytes allocated for render targets, including multisample storage and any single-sample resolve textures.

◆ render_target_count

uint32_t render_target_count

Number of render-target textures currently allocated.

◆ swap_chain_bytes

uint64_t swap_chain_bytes

Bytes allocated for window back-buffers.

◆ swap_chain_count

uint32_t swap_chain_count

Number of swap chains currently active.

◆ texture_bytes

uint64_t texture_bytes

Bytes allocated for sampled textures (not counting render targets).

◆ texture_count

uint32_t texture_count

Number of sampled textures currently allocated.

◆ transient_bytes

uint64_t transient_bytes

Bytes allocated for transient per-frame memory (upload staging and constant buffers).


The documentation for this struct was generated from the following file: