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

Container for asynchronous load results and metadata. More...

#include <async_loader.h>

Data Fields

char path [256]
 
float * float_data
 
uint16_t * half_data
 
void * pbo_mapped_ptr
 
GLuint pbo_id
 
int width
 
int height
 
int channels
 
double submission_time
 
volatile AsyncState state
 

Detailed Description

Container for asynchronous load results and metadata.

Field Documentation

◆ channels

int AsyncRequest::channels

Number of color channels (e.g., 3 for RGB).

◆ float_data

float* AsyncRequest::float_data

◆ half_data

uint16_t* AsyncRequest::half_data

◆ height

int AsyncRequest::height

Image height in pixels.

◆ path

char AsyncRequest::path[256]

Absolute path to the source file.

◆ pbo_id

GLuint AsyncRequest::pbo_id

◆ pbo_mapped_ptr

void* AsyncRequest::pbo_mapped_ptr

◆ state

volatile AsyncState AsyncRequest::state

Current state (atomic/volatile for thread-safety).

◆ submission_time

double AsyncRequest::submission_time

Time when request was submitted.

◆ width

int AsyncRequest::width

Image width in pixels.


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