Header. More...
#include <osvr/PluginKit/DeviceInterfaceC.h>#include <osvr/Util/ChannelCountC.h>#include <osvr/Util/ImagingReportTypesC.h>Go to the source code of this file.
Typedefs | |
|
typedef typedefOSVR_EXTERN_C_BEGIN struct OSVR_ImagingDeviceInterfaceObject * | OSVR_ImagingDeviceInterface |
| Opaque type used in conjunction with a device token to send data on an imaging interface. | |
Functions | |
| OSVR_ReturnCode | osvrDeviceImagingConfigure (OSVR_DeviceInitOptions opts, OSVR_ImagingDeviceInterface *iface, OSVR_ChannelCount numSensors=1) |
| Specify that your device will implement the Imaging interface. More... | |
| OSVR_ReturnCode | osvrDeviceImagingReportFrame (OSVR_DeviceToken dev, OSVR_ImagingDeviceInterface iface, OSVR_ImagingMetadata metadata, OSVR_ImageBufferElement *imageData, OSVR_ChannelCount sensor, OSVR_TimeValue const *timestamp) |
Report a frame for a sensor. Takes ownership of the buffer and frees it with the osvrAlignedFree function** when done, so for stability only pass in memory allocated by osvrAlignedAlloc. The C++ wrapper for this function takes care of this automatically. More... | |