OSVR-Core
|
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_PLUGINKIT_EXPORT OSVR_ReturnCode | osvrDeviceImagingConfigure (OSVR_INOUT_PTR OSVR_DeviceInitOptions opts, OSVR_OUT_PTR OSVR_ImagingDeviceInterface *iface, OSVR_IN OSVR_ChannelCount numSensors OSVR_CPP_ONLY(=1)) OSVR_FUNC_NONNULL((1 |
Specify that your device will implement the Imaging interface. More... | |
OSVR_PLUGINKIT_EXPORT OSVR_ReturnCode OSVR_PLUGINKIT_EXPORT OSVR_ReturnCode | osvrDeviceImagingReportFrame (OSVR_IN_PTR OSVR_DeviceToken dev, OSVR_IN_PTR OSVR_ImagingDeviceInterface iface, OSVR_IN OSVR_ImagingMetadata metadata, OSVR_IN_PTR OSVR_ImageBufferElement *imageData, OSVR_IN OSVR_ChannelCount sensor, OSVR_IN_PTR OSVR_TimeValue const *timestamp) OSVR_FUNC_NONNULL((1 |
Report a frame for a sensor. More... | |
Header.
Must be c-safe!