$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
GPUStage Struct Reference

Represents a single profiling stage (e.g., "Shadow Map", "G-Buffer"). More...

#include <gpu_profiler.h>

Collaboration diagram for GPUStage:
[legend]

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
 

Detailed Description

Represents a single profiling stage (e.g., "Shadow Map", "G-Buffer").

Field Documentation

◆ alpha

float GPUStage::alpha

Current target alpha (1.0=visible, 0.0=gone).

◆ color

uint32_t GPUStage::color

◆ depth

int GPUStage::depth

Hierarchy depth (0=root).

◆ duration_ms

float GPUStage::duration_ms

Target duration (ms).

◆ duration_sampler

AdaptiveSampler GPUStage::duration_sampler

Sampler for duration (width).

◆ name

char GPUStage::name[MAX_GPU_STAGE_NAME]

◆ offset_sampler

AdaptiveSampler GPUStage::offset_sampler

Sampler for offset (position).

◆ parent_index

int GPUStage::parent_index

Index of parent stage (-1=root).

◆ prev_alpha

float GPUStage::prev_alpha

Previous window alpha for LERP.

◆ prev_duration_ms

float GPUStage::prev_duration_ms

Previous window duration (ms).

◆ prev_start_offset_ms

float GPUStage::prev_start_offset_ms

Previous window start time (ms).

◆ start_offset_ms

float GPUStage::start_offset_ms

Target start time (ms).


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