reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofVideoDevice Class Reference

A structure describing attributes of a video device. More...

#include <ofVideoBaseTypes.h>

Public Attributes

int id
 The video device ID.
 
std::string deviceName
 The video device name.
 
std::string hardwareName
 The video device hardware name.
 
std::string serialID
 Unique identifier for the device if it has one.
 
std::vector< ofVideoFormatformats
 A list of video device formats provided by the device.
 
bool bAvailable
 Is true if this video device is available.
 

Detailed Description

A structure describing attributes of a video device.

An ofVideoDevice can represent a camera, grabber or other frame source.

Member Data Documentation

◆ bAvailable

bool ofVideoDevice::bAvailable

Is true if this video device is available.

◆ deviceName

std::string ofVideoDevice::deviceName

The video device name.

◆ formats

std::vector<ofVideoFormat> ofVideoDevice::formats

A list of video device formats provided by the device.

See also
ofVideoFormat

◆ hardwareName

std::string ofVideoDevice::hardwareName

The video device hardware name.

◆ id

int ofVideoDevice::id

The video device ID.

◆ serialID

std::string ofVideoDevice::serialID

Unique identifier for the device if it has one.


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