objc

Data Fields
pix_display_t Struct Reference

Display context structure. More...

#include <runtime-pix/pix.h>

Collaboration diagram for pix_display_t:
Collaboration graph
[legend]

Data Fields

pix_frame_t frame
 Framebuffer containing pixel data for the display.
 
pix_display_callback_t callback
 Optional callback function for frame updates.
 
uint64_t time_ms
 Timestamp of last frame update in milliseconds.
 
uint64_t interval_ms
 Target frame interval in milliseconds.
 
void * userdata
 User-defined data pointer passed to callbacks.
 
uint8_t ctx [PIX_DISPLAY_CTX_SIZE]
 Internal context buffer for display-specific state.
 
bool(* lock )(struct pix_display_t *display)
 Function pointer to lock display for drawing.
 
bool(* unlock )(struct pix_display_t *display)
 Function pointer to unlock display after drawing.
 

Detailed Description

Display context structure.

Contains the state for display operations.

Definition at line 51 of file display.h.


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