Implementation. More...
#include <osvr/PluginKit/ImagingInterfaceC.h>
#include <osvr/Connection/DeviceInitObject.h>
#include <osvr/Connection/DeviceToken.h>
#include <osvr/Connection/DeviceInterfaceBase.h>
#include <osvr/PluginHost/PluginSpecificRegistrationContext.h>
#include <osvr/Common/ImagingComponent.h>
#include "HandleNullContext.h"
#include <osvr/Util/Verbosity.h>
Go to the source code of this file.
Classes | |
struct | OSVR_ImagingDeviceInterfaceObject |
Functions | |
OSVR_ReturnCode | osvrDeviceImagingConfigure (OSVR_DeviceInitOptions opts, OSVR_ImagingDeviceInterface *iface, OSVR_ChannelCount numSensors) |
Specify that your device will implement the Imaging interface. More... | |
OSVR_ReturnCode | osvrDeviceImagingReportFrame (OSVR_DeviceToken, 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... | |