$darkmode
Represents a single profiling stage (e.g., "Shadow Map", "G-Buffer"). More...
#include <gpu_profiler.h>
Data Fields | |
| char | name [MAX_GPU_STAGE_NAME] |
| uint32_t | color |
| AdaptiveSampler | duration_sampler |
| AdaptiveSampler | offset_sampler |
| float | start_offset_ms |
| float | duration_ms |
| float | prev_start_offset_ms |
| float | prev_duration_ms |
| float | alpha |
| float | prev_alpha |
| int | depth |
| int | parent_index |
Represents a single profiling stage (e.g., "Shadow Map", "G-Buffer").
| float GPUStage::alpha |
Current target alpha (1.0=visible, 0.0=gone).
| uint32_t GPUStage::color |
| int GPUStage::depth |
Hierarchy depth (0=root).
| float GPUStage::duration_ms |
Target duration (ms).
| AdaptiveSampler GPUStage::duration_sampler |
Sampler for duration (width).
| char GPUStage::name[MAX_GPU_STAGE_NAME] |
| AdaptiveSampler GPUStage::offset_sampler |
Sampler for offset (position).
| int GPUStage::parent_index |
Index of parent stage (-1=root).
| float GPUStage::prev_alpha |
Previous window alpha for LERP.
| float GPUStage::prev_duration_ms |
Previous window duration (ms).
| float GPUStage::prev_start_offset_ms |
Previous window start time (ms).
| float GPUStage::start_offset_ms |
Target start time (ms).