SDL 3.0
SDL_CameraDeviceEvent Struct Reference

#include <SDL_events.h>

Data Fields

SDL_EventType type
 
Uint32 reserved
 
Uint64 timestamp
 
SDL_CameraDeviceID which
 
Uint8 padding1
 
Uint8 padding2
 
Uint8 padding3
 

Detailed Description

Camera device event structure (event.cdevice.*)

Definition at line 588 of file SDL_events.h.

Field Documentation

◆ padding1

Uint8 SDL_CameraDeviceEvent::padding1

Definition at line 594 of file SDL_events.h.

◆ padding2

Uint8 SDL_CameraDeviceEvent::padding2

Definition at line 595 of file SDL_events.h.

◆ padding3

Uint8 SDL_CameraDeviceEvent::padding3

Definition at line 596 of file SDL_events.h.

◆ reserved

Uint32 SDL_CameraDeviceEvent::reserved

Definition at line 591 of file SDL_events.h.

◆ timestamp

Uint64 SDL_CameraDeviceEvent::timestamp

In nanoseconds, populated using SDL_GetTicksNS()

Definition at line 592 of file SDL_events.h.

◆ type

◆ which

SDL_CameraDeviceID SDL_CameraDeviceEvent::which

SDL_CameraDeviceID for the device being added or removed or changing

Definition at line 593 of file SDL_events.h.


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