mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-03 09:10:43 +03:00
Add vrclient
This commit is contained in:
parent
0b2c856af7
commit
a89b44235a
125
vrclient_x64/Makefile.in
Normal file
125
vrclient_x64/Makefile.in
Normal file
@ -0,0 +1,125 @@
|
||||
MODULE = vrclient_x64.dll
|
||||
|
||||
EXTRADEFS = -Wno-unused-variable -Wno-attributes -DGNUC
|
||||
CPPFLAGS = -std=c++0x
|
||||
|
||||
C_SRCS = \
|
||||
vrclient_main.c \
|
||||
winIVRSystem.c \
|
||||
winIVRApplications.c \
|
||||
winIVRSettings.c \
|
||||
winIVRChaperone.c \
|
||||
winIVRChaperoneSetup.c \
|
||||
winIVRCompositor.c \
|
||||
winIVRNotifications.c \
|
||||
winIVROverlay.c \
|
||||
winIVRRenderModels.c \
|
||||
winIVRExtendedDisplay.c \
|
||||
winIVRTrackedCamera.c \
|
||||
winIVRScreenshots.c \
|
||||
winIVRResources.c \
|
||||
winIVRDriverManager.c \
|
||||
winIVRClientCore.c \
|
||||
|
||||
CPP_SRCS = \
|
||||
struct_converters_1011.cpp \
|
||||
cppIVRSystem_IVRSystem_017.cpp \
|
||||
cppIVRApplications_IVRApplications_006.cpp \
|
||||
cppIVRSettings_IVRSettings_002.cpp \
|
||||
cppIVRChaperone_IVRChaperone_003.cpp \
|
||||
cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp \
|
||||
cppIVRCompositor_IVRCompositor_022.cpp \
|
||||
cppIVRNotifications_IVRNotifications_002.cpp \
|
||||
cppIVROverlay_IVROverlay_017.cpp \
|
||||
cppIVRRenderModels_IVRRenderModels_005.cpp \
|
||||
cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp \
|
||||
cppIVRTrackedCamera_IVRTrackedCamera_003.cpp \
|
||||
cppIVRScreenshots_IVRScreenshots_001.cpp \
|
||||
cppIVRResources_IVRResources_001.cpp \
|
||||
cppIVRDriverManager_IVRDriverManager_001.cpp \
|
||||
cppIVRClientCore_IVRClientCore_003.cpp \
|
||||
struct_converters_1010.cpp \
|
||||
cppIVRCompositor_IVRCompositor_021.cpp \
|
||||
cppIVROverlay_IVROverlay_016.cpp \
|
||||
struct_converters_109.cpp \
|
||||
cppIVRSystem_IVRSystem_016.cpp \
|
||||
cppIVRCompositor_IVRCompositor_020.cpp \
|
||||
cppIVRClientCore_IVRClientCore_002.cpp \
|
||||
struct_converters_108.cpp \
|
||||
struct_converters_107.cpp \
|
||||
cppIVRSystem_IVRSystem_015.cpp \
|
||||
struct_converters_106.cpp \
|
||||
cppIVROverlay_IVROverlay_014.cpp \
|
||||
struct_converters_105.cpp \
|
||||
cppIVRCompositor_IVRCompositor_019.cpp \
|
||||
struct_converters_104.cpp \
|
||||
cppIVRSystem_IVRSystem_014.cpp \
|
||||
cppIVRCompositor_IVRCompositor_018.cpp \
|
||||
cppIVROverlay_IVROverlay_013.cpp \
|
||||
struct_converters_103.cpp \
|
||||
cppIVRSystem_IVRSystem_012.cpp \
|
||||
cppIVRCompositor_IVRCompositor_016.cpp \
|
||||
struct_converters_102.cpp \
|
||||
cppIVRSettings_IVRSettings_001.cpp \
|
||||
struct_converters_101.cpp \
|
||||
cppIVRApplications_IVRApplications_005.cpp \
|
||||
cppIVRCompositor_IVRCompositor_015.cpp \
|
||||
cppIVROverlay_IVROverlay_012.cpp \
|
||||
struct_converters_100.cpp \
|
||||
cppIVRTrackedCamera_IVRTrackedCamera_002.cpp \
|
||||
struct_converters_0920.cpp \
|
||||
cppIVRCompositor_IVRCompositor_014.cpp \
|
||||
cppIVROverlay_IVROverlay_011.cpp \
|
||||
struct_converters_0919.cpp \
|
||||
cppIVRCompositor_IVRCompositor_013.cpp \
|
||||
struct_converters_0918.cpp \
|
||||
cppIVRSystem_IVRSystem_011.cpp \
|
||||
cppIVRApplications_IVRApplications_004.cpp \
|
||||
cppIVROverlay_IVROverlay_010.cpp \
|
||||
cppIVRRenderModels_IVRRenderModels_004.cpp \
|
||||
struct_converters_0917.cpp \
|
||||
cppIVRCompositor_IVRCompositor_012.cpp \
|
||||
struct_converters_0916.cpp \
|
||||
cppIVRApplications_IVRApplications_003.cpp \
|
||||
cppIVRCompositor_IVRCompositor_011.cpp \
|
||||
struct_converters_0915.cpp \
|
||||
cppIVRRenderModels_IVRRenderModels_002.cpp \
|
||||
struct_converters_0914.cpp \
|
||||
cppIVRSystem_IVRSystem_010.cpp \
|
||||
cppIVRApplications_IVRApplications_002.cpp \
|
||||
cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp \
|
||||
cppIVRCompositor_IVRCompositor_010.cpp \
|
||||
cppIVROverlay_IVROverlay_008.cpp \
|
||||
cppIVRTrackedCamera_IVRTrackedCamera_001.cpp \
|
||||
struct_converters_0913.cpp \
|
||||
cppIVRCompositor_IVRCompositor_009.cpp \
|
||||
struct_converters_0912.cpp \
|
||||
cppIVRSystem_IVRSystem_009.cpp \
|
||||
cppIVROverlay_IVROverlay_007.cpp \
|
||||
struct_converters_0910.cpp \
|
||||
cppIVRSystem_IVRSystem_006.cpp \
|
||||
cppIVRApplications_IVRApplications_001.cpp \
|
||||
cppIVRChaperone_IVRChaperone_002.cpp \
|
||||
cppIVRCompositor_IVRCompositor_008.cpp \
|
||||
cppIVRNotifications_IVRNotifications_001.cpp \
|
||||
cppIVROverlay_IVROverlay_005.cpp \
|
||||
cppIVRRenderModels_IVRRenderModels_001.cpp \
|
||||
struct_converters_099.cpp \
|
||||
struct_converters_098.cpp \
|
||||
cppIVRSystem_IVRSystem_005.cpp \
|
||||
cppIVRCompositor_IVRCompositor_007.cpp \
|
||||
cppIVROverlay_IVROverlay_004.cpp \
|
||||
struct_converters_097.cpp \
|
||||
cppIVROverlay_IVROverlay_003.cpp \
|
||||
struct_converters_096.cpp \
|
||||
struct_converters_094.cpp \
|
||||
cppIVROverlay_IVROverlay_002.cpp \
|
||||
struct_converters_093.cpp \
|
||||
struct_converters_092.cpp \
|
||||
cppIVRSystem_IVRSystem_004.cpp \
|
||||
cppIVRCompositor_IVRCompositor_006.cpp \
|
||||
cppIVROverlay_IVROverlay_001.cpp \
|
||||
struct_converters_091.cpp \
|
||||
cppIVRSystem_IVRSystem_003.cpp \
|
||||
cppIVRCompositor_IVRCompositor_005.cpp \
|
||||
struct_converters_090.cpp \
|
7
vrclient_x64/Makefile.in.orig
Normal file
7
vrclient_x64/Makefile.in.orig
Normal file
@ -0,0 +1,7 @@
|
||||
MODULE = vrclient_x64.dll
|
||||
|
||||
EXTRADEFS = -Wno-unused-variable -Wno-attributes -DGNUC
|
||||
CPPFLAGS = -std=c++0x
|
||||
|
||||
C_SRCS = \
|
||||
vrclient_main.c \
|
119
vrclient_x64/cppIVRApplications_IVRApplications_001.cpp
Normal file
119
vrclient_x64/cppIVRApplications_IVRApplications_001.cpp
Normal file
@ -0,0 +1,119 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.10/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRApplications_IVRApplications_001.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_001_IsApplicationInstalled(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_001_GetApplicationCount(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationCount();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchApplication(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_001_GetApplicationProcessId(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_GetHomeApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetHomeApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_SetHomeApplication(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->SetHomeApplication((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_001_GetTransitionState(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetTransitionState();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
27
vrclient_x64/cppIVRApplications_IVRApplications_001.h
Normal file
27
vrclient_x64/cppIVRApplications_IVRApplications_001.h
Normal file
@ -0,0 +1,27 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_AddApplicationManifest(void *, const char *, bool);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(void *, const char *);
|
||||
extern bool cppIVRApplications_IVRApplications_001_IsApplicationInstalled(void *, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_001_GetApplicationCount(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchApplication(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_IdentifyApplication(void *, uint32_t, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_001_GetApplicationProcessId(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *);
|
||||
extern bool cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetHomeApplication(void *, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_SetHomeApplication(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(void *, const char *, bool);
|
||||
extern bool cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetStartingApplication(void *, char *, uint32_t);
|
||||
extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_001_GetTransitionState(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
114
vrclient_x64/cppIVRApplications_IVRApplications_002.cpp
Normal file
114
vrclient_x64/cppIVRApplications_IVRApplications_002.cpp
Normal file
@ -0,0 +1,114 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.14/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRApplications_IVRApplications_002.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_002_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_002_IsApplicationInstalled(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_002_GetApplicationCount(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationCount();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchApplication(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_002_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_002_GetApplicationProcessId(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_002_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_002_GetTransitionState(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetTransitionState();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsQuitUserPromptRequested();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
26
vrclient_x64/cppIVRApplications_IVRApplications_002.h
Normal file
26
vrclient_x64/cppIVRApplications_IVRApplications_002.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_002_AddApplicationManifest(void *, const char *, bool);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(void *, const char *);
|
||||
extern bool cppIVRApplications_IVRApplications_002_IsApplicationInstalled(void *, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_002_GetApplicationCount(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchApplication(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_002_IdentifyApplication(void *, uint32_t, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_002_GetApplicationProcessId(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *);
|
||||
extern bool cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(void *, const char *, bool);
|
||||
extern bool cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_002_GetStartingApplication(void *, char *, uint32_t);
|
||||
extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_002_GetTransitionState(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState);
|
||||
extern bool cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
119
vrclient_x64/cppIVRApplications_IVRApplications_003.cpp
Normal file
119
vrclient_x64/cppIVRApplications_IVRApplications_003.cpp
Normal file
@ -0,0 +1,119 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.16/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRApplications_IVRApplications_003.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_003_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_003_IsApplicationInstalled(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_003_GetApplicationCount(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationCount();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchApplication(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_003_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_003_GetApplicationProcessId(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
uint64_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_003_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_003_GetTransitionState(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetTransitionState();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsQuitUserPromptRequested();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
27
vrclient_x64/cppIVRApplications_IVRApplications_003.h
Normal file
27
vrclient_x64/cppIVRApplications_IVRApplications_003.h
Normal file
@ -0,0 +1,27 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_003_AddApplicationManifest(void *, const char *, bool);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(void *, const char *);
|
||||
extern bool cppIVRApplications_IVRApplications_003_IsApplicationInstalled(void *, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_003_GetApplicationCount(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchApplication(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_003_IdentifyApplication(void *, uint32_t, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_003_GetApplicationProcessId(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *);
|
||||
extern bool cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *);
|
||||
extern uint64_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(void *, const char *, bool);
|
||||
extern bool cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_003_GetStartingApplication(void *, char *, uint32_t);
|
||||
extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_003_GetTransitionState(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState);
|
||||
extern bool cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
129
vrclient_x64/cppIVRApplications_IVRApplications_004.cpp
Normal file
129
vrclient_x64/cppIVRApplications_IVRApplications_004.cpp
Normal file
@ -0,0 +1,129 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.18/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRApplications_IVRApplications_004.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_004_IsApplicationInstalled(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_004_GetApplicationCount(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationCount();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchApplication(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_004_GetApplicationProcessId(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
uint64_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_004_GetTransitionState(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetTransitionState();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsQuitUserPromptRequested();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchInternalProcess(void *linux_side, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
29
vrclient_x64/cppIVRApplications_IVRApplications_004.h
Normal file
29
vrclient_x64/cppIVRApplications_IVRApplications_004.h
Normal file
@ -0,0 +1,29 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_AddApplicationManifest(void *, const char *, bool);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(void *, const char *);
|
||||
extern bool cppIVRApplications_IVRApplications_004_IsApplicationInstalled(void *, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_004_GetApplicationCount(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchApplication(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(void *, const char *);
|
||||
extern bool cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_IdentifyApplication(void *, uint32_t, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_004_GetApplicationProcessId(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *);
|
||||
extern bool cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *);
|
||||
extern uint64_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(void *, const char *, bool);
|
||||
extern bool cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_GetStartingApplication(void *, char *, uint32_t);
|
||||
extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_004_GetTransitionState(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState);
|
||||
extern bool cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchInternalProcess(void *, const char *, const char *, const char *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
134
vrclient_x64/cppIVRApplications_IVRApplications_005.cpp
Normal file
134
vrclient_x64/cppIVRApplications_IVRApplications_005.cpp
Normal file
@ -0,0 +1,134 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.1/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRApplications_IVRApplications_005.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_005_IsApplicationInstalled(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_005_GetApplicationCount(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationCount();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchApplication(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(void *linux_side, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchTemplateApplication((const char *)pchTemplateAppKey, (const char *)pchNewAppKey, (const vr::AppOverrideKeys_t *)pKeys, (uint32_t)unKeys);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_005_GetApplicationProcessId(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
uint64_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_005_GetTransitionState(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetTransitionState();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsQuitUserPromptRequested();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchInternalProcess(void *linux_side, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
30
vrclient_x64/cppIVRApplications_IVRApplications_005.h
Normal file
30
vrclient_x64/cppIVRApplications_IVRApplications_005.h
Normal file
@ -0,0 +1,30 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_AddApplicationManifest(void *, const char *, bool);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(void *, const char *);
|
||||
extern bool cppIVRApplications_IVRApplications_005_IsApplicationInstalled(void *, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_005_GetApplicationCount(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchApplication(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(void *, const char *, const char *, AppOverrideKeys_t *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(void *, const char *);
|
||||
extern bool cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_IdentifyApplication(void *, uint32_t, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_005_GetApplicationProcessId(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *);
|
||||
extern bool cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *);
|
||||
extern uint64_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(void *, const char *, bool);
|
||||
extern bool cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_GetStartingApplication(void *, char *, uint32_t);
|
||||
extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_005_GetTransitionState(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState);
|
||||
extern bool cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchInternalProcess(void *, const char *, const char *, const char *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
169
vrclient_x64/cppIVRApplications_IVRApplications_006.cpp
Normal file
169
vrclient_x64/cppIVRApplications_IVRApplications_006.cpp
Normal file
@ -0,0 +1,169 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.11/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRApplications_IVRApplications_006.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_006_IsApplicationInstalled(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_006_GetApplicationCount(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationCount();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplication(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchTemplateApplication(void *linux_side, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchTemplateApplication((const char *)pchTemplateAppKey, (const char *)pchNewAppKey, (const vr::AppOverrideKeys_t *)pKeys, (uint32_t)unKeys);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(void *linux_side, const char * pchMimeType, const char * pchArgs)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchApplicationFromMimeType((const char *)pchMimeType, (const char *)pchArgs);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_006_CancelApplicationLaunch(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_006_GetApplicationProcessId(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
uint64_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(void *linux_side, const char * pchAppKey, const char * pchMimeType)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->SetDefaultApplicationForMimeType((const char *)pchAppKey, (const char *)pchMimeType);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(void *linux_side, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetDefaultApplicationForMimeType((const char *)pchMimeType, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(void *linux_side, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationSupportedMimeTypes((const char *)pchAppKey, (char *)pchMimeTypesBuffer, (uint32_t)unMimeTypesBuffer);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(void *linux_side, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsThatSupportMimeType((const char *)pchMimeType, (char *)pchAppKeysThatSupportBuffer, (uint32_t)unAppKeysThatSupportBuffer);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(void *linux_side, uint32_t unHandle, char * pchArgs, uint32_t unArgs)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationLaunchArguments((uint32_t)unHandle, (char *)pchArgs, (uint32_t)unArgs);
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen);
|
||||
}
|
||||
|
||||
vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_006_GetTransitionState(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetTransitionState();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey);
|
||||
}
|
||||
|
||||
const char * cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state);
|
||||
}
|
||||
|
||||
bool cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->IsQuitUserPromptRequested();
|
||||
}
|
||||
|
||||
vr::EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchInternalProcess(void *linux_side, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory);
|
||||
}
|
||||
|
||||
uint32_t cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(void *linux_side)
|
||||
{
|
||||
return ((IVRApplications*)linux_side)->GetCurrentSceneProcessId();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
37
vrclient_x64/cppIVRApplications_IVRApplications_006.h
Normal file
37
vrclient_x64/cppIVRApplications_IVRApplications_006.h
Normal file
@ -0,0 +1,37 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_AddApplicationManifest(void *, const char *, bool);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_RemoveApplicationManifest(void *, const char *);
|
||||
extern bool cppIVRApplications_IVRApplications_006_IsApplicationInstalled(void *, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationCount(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplication(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchTemplateApplication(void *, const char *, const char *, AppOverrideKeys_t *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(void *, const char *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay(void *, const char *);
|
||||
extern bool cppIVRApplications_IVRApplications_006_CancelApplicationLaunch(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_IdentifyApplication(void *, uint32_t, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationProcessId(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *);
|
||||
extern bool cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *);
|
||||
extern uint64_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(void *, const char *, bool);
|
||||
extern bool cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(void *, const char *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(void *, const char *, const char *);
|
||||
extern bool cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(void *, const char *, char *, uint32_t);
|
||||
extern bool cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(void *, const char *, char *, uint32_t);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(void *, const char *, char *, uint32_t);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(void *, uint32_t, char *, uint32_t);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_GetStartingApplication(void *, char *, uint32_t);
|
||||
extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_006_GetTransitionState(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(void *, const char *);
|
||||
extern const char * cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState);
|
||||
extern bool cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(void *);
|
||||
extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchInternalProcess(void *, const char *, const char *, const char *);
|
||||
extern uint32_t cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
94
vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp
Normal file
94
vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp
Normal file
@ -0,0 +1,94 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.14/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRChaperoneSetup_IVRChaperoneSetup_004.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(void *linux_side, EChaperoneConfigFile configFile)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)configFile);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(void *linux_side)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->RevertWorkingCopy();
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaSize((float *)pSizeX, (float *)pSizeZ);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *linux_side, HmdQuad_t * rect)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)rect);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatStandingZeroPoseToRawTrackingPose);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *linux_side, float sizeX, float sizeZ)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->SetWorkingPlayAreaSize((float)sizeX, (float)sizeZ);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatSeatedZeroPoseToRawTrackingPose);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatStandingZeroPoseToRawTrackingPose);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(void *linux_side, EChaperoneConfigFile configFile)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)configFile);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *linux_side, uint8_t * pTagsBuffer, uint32_t unTagCount)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->SetWorkingWallTagInfo((uint8_t *)pTagsBuffer, (uint32_t)unTagCount);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(void *linux_side, uint8_t * pTagsBuffer, uint32_t * punTagCount)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetLiveWallTagInfo((uint8_t *)pTagsBuffer, (uint32_t *)punTagCount);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
22
vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h
Normal file
22
vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h
Normal file
@ -0,0 +1,22 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(void *, EChaperoneConfigFile);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(void *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *, float *, float *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *, HmdQuad_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *, float, float);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(void *, EChaperoneConfigFile);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *, uint8_t *, uint32_t);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(void *, uint8_t *, uint32_t *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
114
vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp
Normal file
114
vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp
Normal file
@ -0,0 +1,114 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.11/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRChaperoneSetup_IVRChaperoneSetup_005.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(void *linux_side, EChaperoneConfigFile configFile)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)configFile);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(void *linux_side)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->RevertWorkingCopy();
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaSize((float *)pSizeX, (float *)pSizeZ);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *linux_side, HmdQuad_t * rect)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)rect);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatStandingZeroPoseToRawTrackingPose);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *linux_side, float sizeX, float sizeZ)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->SetWorkingPlayAreaSize((float)sizeX, (float)sizeZ);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatSeatedZeroPoseToRawTrackingPose);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatStandingZeroPoseToRawTrackingPose);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(void *linux_side, EChaperoneConfigFile configFile)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)configFile);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose);
|
||||
}
|
||||
|
||||
void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *linux_side, uint8_t * pTagsBuffer, uint32_t unTagCount)
|
||||
{
|
||||
((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsTagsInfo((uint8_t *)pTagsBuffer, (uint32_t)unTagCount);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *linux_side, uint8_t * pTagsBuffer, uint32_t * punTagCount)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsTagsInfo((uint8_t *)pTagsBuffer, (uint32_t *)punTagCount);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->SetWorkingPhysicalBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->GetLivePhysicalBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(void *linux_side, char * pBuffer, uint32_t * pnBufferLength)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->ExportLiveToBuffer((char *)pBuffer, (uint32_t *)pnBufferLength);
|
||||
}
|
||||
|
||||
bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(void *linux_side, const char * pBuffer, uint32_t nImportFlags)
|
||||
{
|
||||
return ((IVRChaperoneSetup*)linux_side)->ImportFromBufferToWorking((const char *)pBuffer, (uint32_t)nImportFlags);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
26
vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h
Normal file
26
vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(void *, EChaperoneConfigFile);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(void *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *, float *, float *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *, HmdQuad_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *, float, float);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(void *, EChaperoneConfigFile);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *);
|
||||
extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *, uint8_t *, uint32_t);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *, uint8_t *, uint32_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *, HmdQuad_t *, uint32_t);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *, HmdQuad_t *, uint32_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(void *, char *, uint32_t *);
|
||||
extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(void *, const char *, uint32_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
59
vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp
Normal file
59
vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp
Normal file
@ -0,0 +1,59 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.10/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRChaperone_IVRChaperone_002.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_002_GetCalibrationState(void *linux_side)
|
||||
{
|
||||
return ((IVRChaperone*)linux_side)->GetCalibrationState();
|
||||
}
|
||||
|
||||
bool cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(void *linux_side, ChaperoneSoftBoundsInfo_t * pInfo)
|
||||
{
|
||||
return ((IVRChaperone*)linux_side)->GetSoftBoundsInfo((vr::ChaperoneSoftBoundsInfo_t *)pInfo);
|
||||
}
|
||||
|
||||
bool cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount)
|
||||
{
|
||||
return ((IVRChaperone*)linux_side)->GetHardBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount);
|
||||
}
|
||||
|
||||
bool cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(void *linux_side, ChaperoneSeatedBoundsInfo_t * pInfo)
|
||||
{
|
||||
return ((IVRChaperone*)linux_side)->GetSeatedBoundsInfo((vr::ChaperoneSeatedBoundsInfo_t *)pInfo);
|
||||
}
|
||||
|
||||
void cppIVRChaperone_IVRChaperone_002_ReloadInfo(void *linux_side)
|
||||
{
|
||||
((IVRChaperone*)linux_side)->ReloadInfo();
|
||||
}
|
||||
|
||||
void cppIVRChaperone_IVRChaperone_002_SetSceneColor(void *linux_side, HmdColor_t color)
|
||||
{
|
||||
((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color);
|
||||
}
|
||||
|
||||
void cppIVRChaperone_IVRChaperone_002_GetBoundsColor(void *linux_side, HmdColor_t * pOutputColorArray, int nNumOutputColors)
|
||||
{
|
||||
((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors);
|
||||
}
|
||||
|
||||
bool cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRChaperone*)linux_side)->AreBoundsVisible();
|
||||
}
|
||||
|
||||
void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(void *linux_side, bool bForce)
|
||||
{
|
||||
((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
15
vrclient_x64/cppIVRChaperone_IVRChaperone_002.h
Normal file
15
vrclient_x64/cppIVRChaperone_IVRChaperone_002.h
Normal file
@ -0,0 +1,15 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_002_GetCalibrationState(void *);
|
||||
extern bool cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(void *, ChaperoneSoftBoundsInfo_t *);
|
||||
extern bool cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(void *, HmdQuad_t *, uint32_t *);
|
||||
extern bool cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(void *, ChaperoneSeatedBoundsInfo_t *);
|
||||
extern void cppIVRChaperone_IVRChaperone_002_ReloadInfo(void *);
|
||||
extern void cppIVRChaperone_IVRChaperone_002_SetSceneColor(void *, HmdColor_t);
|
||||
extern void cppIVRChaperone_IVRChaperone_002_GetBoundsColor(void *, HmdColor_t *, int);
|
||||
extern bool cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(void *);
|
||||
extern void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(void *, bool);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
54
vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp
Normal file
54
vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp
Normal file
@ -0,0 +1,54 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.11/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRChaperone_IVRChaperone_003.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_003_GetCalibrationState(void *linux_side)
|
||||
{
|
||||
return ((IVRChaperone*)linux_side)->GetCalibrationState();
|
||||
}
|
||||
|
||||
bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ)
|
||||
{
|
||||
return ((IVRChaperone*)linux_side)->GetPlayAreaSize((float *)pSizeX, (float *)pSizeZ);
|
||||
}
|
||||
|
||||
bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(void *linux_side, HmdQuad_t * rect)
|
||||
{
|
||||
return ((IVRChaperone*)linux_side)->GetPlayAreaRect((vr::HmdQuad_t *)rect);
|
||||
}
|
||||
|
||||
void cppIVRChaperone_IVRChaperone_003_ReloadInfo(void *linux_side)
|
||||
{
|
||||
((IVRChaperone*)linux_side)->ReloadInfo();
|
||||
}
|
||||
|
||||
void cppIVRChaperone_IVRChaperone_003_SetSceneColor(void *linux_side, HmdColor_t color)
|
||||
{
|
||||
((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color);
|
||||
}
|
||||
|
||||
void cppIVRChaperone_IVRChaperone_003_GetBoundsColor(void *linux_side, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor)
|
||||
{
|
||||
((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors, (float)flCollisionBoundsFadeDistance, (vr::HmdColor_t *)pOutputCameraColor);
|
||||
}
|
||||
|
||||
bool cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRChaperone*)linux_side)->AreBoundsVisible();
|
||||
}
|
||||
|
||||
void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(void *linux_side, bool bForce)
|
||||
{
|
||||
((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
14
vrclient_x64/cppIVRChaperone_IVRChaperone_003.h
Normal file
14
vrclient_x64/cppIVRChaperone_IVRChaperone_003.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_003_GetCalibrationState(void *);
|
||||
extern bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(void *, float *, float *);
|
||||
extern bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(void *, HmdQuad_t *);
|
||||
extern void cppIVRChaperone_IVRChaperone_003_ReloadInfo(void *);
|
||||
extern void cppIVRChaperone_IVRChaperone_003_SetSceneColor(void *, HmdColor_t);
|
||||
extern void cppIVRChaperone_IVRChaperone_003_GetBoundsColor(void *, HmdColor_t *, int, float, HmdColor_t *);
|
||||
extern bool cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(void *);
|
||||
extern void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(void *, bool);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
49
vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp
Normal file
49
vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp
Normal file
@ -0,0 +1,49 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.9/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRClientCore_IVRClientCore_002.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVRInitError cppIVRClientCore_IVRClientCore_002_Init(void *linux_side, EVRApplicationType eApplicationType)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->Init((vr::EVRApplicationType)eApplicationType);
|
||||
}
|
||||
|
||||
void cppIVRClientCore_IVRClientCore_002_Cleanup(void *linux_side)
|
||||
{
|
||||
((IVRClientCore*)linux_side)->Cleanup();
|
||||
}
|
||||
|
||||
vr::EVRInitError cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(void *linux_side, const char * pchInterfaceVersion)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->IsInterfaceVersionValid((const char *)pchInterfaceVersion);
|
||||
}
|
||||
|
||||
void * cppIVRClientCore_IVRClientCore_002_GetGenericInterface(void *linux_side, const char * pchNameAndVersion, EVRInitError * peError)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->GetGenericInterface((const char *)pchNameAndVersion, (vr::EVRInitError *)peError);
|
||||
}
|
||||
|
||||
bool cppIVRClientCore_IVRClientCore_002_BIsHmdPresent(void *linux_side)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->BIsHmdPresent();
|
||||
}
|
||||
|
||||
const char * cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(void *linux_side, EVRInitError eError)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->GetEnglishStringForHmdError((vr::EVRInitError)eError);
|
||||
}
|
||||
|
||||
const char * cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError(void *linux_side, EVRInitError eError)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->GetIDForVRInitError((vr::EVRInitError)eError);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
13
vrclient_x64/cppIVRClientCore_IVRClientCore_002.h
Normal file
13
vrclient_x64/cppIVRClientCore_IVRClientCore_002.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVRInitError cppIVRClientCore_IVRClientCore_002_Init(void *, EVRApplicationType);
|
||||
extern void cppIVRClientCore_IVRClientCore_002_Cleanup(void *);
|
||||
extern EVRInitError cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(void *, const char *);
|
||||
extern void * cppIVRClientCore_IVRClientCore_002_GetGenericInterface(void *, const char *, EVRInitError *);
|
||||
extern bool cppIVRClientCore_IVRClientCore_002_BIsHmdPresent(void *);
|
||||
extern const char * cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(void *, EVRInitError);
|
||||
extern const char * cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError(void *, EVRInitError);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
49
vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp
Normal file
49
vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp
Normal file
@ -0,0 +1,49 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.11/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRClientCore_IVRClientCore_003.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVRInitError cppIVRClientCore_IVRClientCore_003_Init(void *linux_side, EVRApplicationType eApplicationType, const char * pStartupInfo)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->Init((vr::EVRApplicationType)eApplicationType, (const char *)pStartupInfo);
|
||||
}
|
||||
|
||||
void cppIVRClientCore_IVRClientCore_003_Cleanup(void *linux_side)
|
||||
{
|
||||
((IVRClientCore*)linux_side)->Cleanup();
|
||||
}
|
||||
|
||||
vr::EVRInitError cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(void *linux_side, const char * pchInterfaceVersion)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->IsInterfaceVersionValid((const char *)pchInterfaceVersion);
|
||||
}
|
||||
|
||||
void * cppIVRClientCore_IVRClientCore_003_GetGenericInterface(void *linux_side, const char * pchNameAndVersion, EVRInitError * peError)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->GetGenericInterface((const char *)pchNameAndVersion, (vr::EVRInitError *)peError);
|
||||
}
|
||||
|
||||
bool cppIVRClientCore_IVRClientCore_003_BIsHmdPresent(void *linux_side)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->BIsHmdPresent();
|
||||
}
|
||||
|
||||
const char * cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(void *linux_side, EVRInitError eError)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->GetEnglishStringForHmdError((vr::EVRInitError)eError);
|
||||
}
|
||||
|
||||
const char * cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(void *linux_side, EVRInitError eError)
|
||||
{
|
||||
return ((IVRClientCore*)linux_side)->GetIDForVRInitError((vr::EVRInitError)eError);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
13
vrclient_x64/cppIVRClientCore_IVRClientCore_003.h
Normal file
13
vrclient_x64/cppIVRClientCore_IVRClientCore_003.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVRInitError cppIVRClientCore_IVRClientCore_003_Init(void *, EVRApplicationType, const char *);
|
||||
extern void cppIVRClientCore_IVRClientCore_003_Cleanup(void *);
|
||||
extern EVRInitError cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(void *, const char *);
|
||||
extern void * cppIVRClientCore_IVRClientCore_003_GetGenericInterface(void *, const char *, EVRInitError *);
|
||||
extern bool cppIVRClientCore_IVRClientCore_003_BIsHmdPresent(void *);
|
||||
extern const char * cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(void *, EVRInitError);
|
||||
extern const char * cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(void *, EVRInitError);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
134
vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp
Normal file
134
vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp
Normal file
@ -0,0 +1,134 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_0.9.1/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_005.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
uint32_t cppIVRCompositor_IVRCompositor_005_GetLastError(void *linux_side, char * pchBuffer, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_SetVSync(void *linux_side, bool bVSync)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetVSync((bool)bVSync);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_005_GetVSync(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVSync();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_SetGamma(void *linux_side, float fGamma)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetGamma((float)fGamma);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_005_GetGamma(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetGamma();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(void *linux_side, Compositor_DeviceType eType, void * pDevice)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetGraphicsDevice((vr::Compositor_DeviceType)eType, (void *)pDevice);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pPoseArray, (uint32_t)unPoseArrayCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_Submit(void *linux_side, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (void *)pTexture, (vr::Compositor_TextureBounds *)pBounds);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(void *linux_side, Compositor_OverlaySettings * pSettings)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->GetOverlayDefaults((vr::Compositor_OverlaySettings *)pSettings);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_SetOverlay(void *linux_side, void * pTexture, Compositor_OverlaySettings * pSettings)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetOverlay((void *)pTexture, (vr::Compositor_OverlaySettings *)pSettings);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(void *linux_side, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetOverlayRaw((void *)buffer, (uint32_t)width, (uint32_t)height, (uint32_t)depth, (vr::Compositor_OverlaySettings *)pSettings);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(void *linux_side, const char * pchFilePath, Compositor_OverlaySettings * pSettings)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetOverlayFromFile((const char *)pchFilePath, (vr::Compositor_OverlaySettings *)pSettings);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_ClearOverlay(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearOverlay();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_005_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_005_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(void *linux_side, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ComputeOverlayIntersection((const vr::Compositor_OverlaySettings *)pSettings, (float)fAspectRatio, (vr::TrackingUniverseOrigin)eOrigin, (vr::HmdVector3_t)vSource, (vr::HmdVector3_t)vDirection, (vr::HmdVector2_t *)pvecIntersectionUV, (vr::HmdVector3_t *)pvecIntersectionTrackingSpace);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
30
vrclient_x64/cppIVRCompositor_IVRCompositor_005.h
Normal file
30
vrclient_x64/cppIVRCompositor_IVRCompositor_005.h
Normal file
@ -0,0 +1,30 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_005_GetLastError(void *, char *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_SetVSync(void *, bool);
|
||||
extern bool cppIVRCompositor_IVRCompositor_005_GetVSync(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_SetGamma(void *, float);
|
||||
extern float cppIVRCompositor_IVRCompositor_005_GetGamma(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(void *, Compositor_DeviceType, void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_Submit(void *, Hmd_Eye, void *, Compositor_TextureBounds *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(void *, Compositor_OverlaySettings *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_SetOverlay(void *, void *, Compositor_OverlaySettings *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(void *, void *, uint32_t, uint32_t, uint32_t, Compositor_OverlaySettings *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(void *, const char *, Compositor_OverlaySettings *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_ClearOverlay(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_005_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_FadeGrid(void *, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_005_IsFullscreen(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(void *, Compositor_OverlaySettings *, float, TrackingUniverseOrigin, HmdVector3_t, HmdVector3_t, HmdVector2_t *, HmdVector3_t *);
|
||||
extern void cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(void *, TrackingUniverseOrigin);
|
||||
extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
114
vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp
Normal file
114
vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp
Normal file
@ -0,0 +1,114 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_0.9.2/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_006.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
uint32_t cppIVRCompositor_IVRCompositor_006_GetLastError(void *linux_side, char * pchBuffer, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_006_SetVSync(void *linux_side, bool bVSync)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetVSync((bool)bVSync);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_006_GetVSync(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVSync();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_006_SetGamma(void *linux_side, float fGamma)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetGamma((float)fGamma);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_006_GetGamma(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetGamma();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(void *linux_side, Compositor_DeviceType eType, void * pDevice)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetGraphicsDevice((vr::Compositor_DeviceType)eType, (void *)pDevice);
|
||||
}
|
||||
|
||||
vr::VRCompositorError cppIVRCompositor_IVRCompositor_006_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::VRCompositorError cppIVRCompositor_IVRCompositor_006_Submit(void *linux_side, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (void *)pTexture, (vr::VRTextureBounds_t *)pBounds);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_006_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_006_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_006_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_006_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_006_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_006_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
26
vrclient_x64/cppIVRCompositor_IVRCompositor_006.h
Normal file
26
vrclient_x64/cppIVRCompositor_IVRCompositor_006.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_006_GetLastError(void *, char *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_006_SetVSync(void *, bool);
|
||||
extern bool cppIVRCompositor_IVRCompositor_006_GetVSync(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_006_SetGamma(void *, float);
|
||||
extern float cppIVRCompositor_IVRCompositor_006_GetGamma(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(void *, Compositor_DeviceType, void *);
|
||||
extern VRCompositorError cppIVRCompositor_IVRCompositor_006_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern VRCompositorError cppIVRCompositor_IVRCompositor_006_Submit(void *, Hmd_Eye, void *, VRTextureBounds_t *);
|
||||
extern void cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_006_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_006_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_006_FadeGrid(void *, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_006_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_006_IsFullscreen(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(void *, TrackingUniverseOrigin);
|
||||
extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_006_CanRenderScene(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
109
vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp
Normal file
109
vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp
Normal file
@ -0,0 +1,109 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.8/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_007.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
uint32_t cppIVRCompositor_IVRCompositor_007_GetLastError(void *linux_side, char * pchBuffer, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_007_SetVSync(void *linux_side, bool bVSync)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetVSync((bool)bVSync);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_007_GetVSync(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVSync();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_007_SetGamma(void *linux_side, float fGamma)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetGamma((float)fGamma);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_007_GetGamma(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetGamma();
|
||||
}
|
||||
|
||||
vr::VRCompositorError cppIVRCompositor_IVRCompositor_007_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::VRCompositorError cppIVRCompositor_IVRCompositor_007_Submit(void *linux_side, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture, (const vr::VRTextureBounds_t *)pBounds);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_007_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_007_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_007_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_007_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_007_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_007_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
25
vrclient_x64/cppIVRCompositor_IVRCompositor_007.h
Normal file
25
vrclient_x64/cppIVRCompositor_IVRCompositor_007.h
Normal file
@ -0,0 +1,25 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_007_GetLastError(void *, char *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_007_SetVSync(void *, bool);
|
||||
extern bool cppIVRCompositor_IVRCompositor_007_GetVSync(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_007_SetGamma(void *, float);
|
||||
extern float cppIVRCompositor_IVRCompositor_007_GetGamma(void *);
|
||||
extern VRCompositorError cppIVRCompositor_IVRCompositor_007_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern VRCompositorError cppIVRCompositor_IVRCompositor_007_Submit(void *, Hmd_Eye, GraphicsAPIConvention, void *, VRTextureBounds_t *);
|
||||
extern void cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_007_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_007_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_007_FadeGrid(void *, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_007_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_007_IsFullscreen(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(void *, TrackingUniverseOrigin);
|
||||
extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_007_CanRenderScene(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
144
vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp
Normal file
144
vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp
Normal file
@ -0,0 +1,144 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.10/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_008.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
uint32_t cppIVRCompositor_IVRCompositor_008_GetLastError(void *linux_side, char * pchBuffer, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_SetVSync(void *linux_side, bool bVSync)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetVSync((bool)bVSync);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_008_GetVSync(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVSync();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_SetGamma(void *linux_side, float fGamma)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetGamma((float)fGamma);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_008_GetGamma(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetGamma();
|
||||
}
|
||||
|
||||
vr::VRCompositorError cppIVRCompositor_IVRCompositor_008_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::VRCompositorError cppIVRCompositor_IVRCompositor_008_Submit(void *linux_side, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::VRSubmitFlags_t)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_008_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride(void *linux_side, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetSkyboxOverride((vr::GraphicsAPIConvention)eTextureType, (void *)pFront, (void *)pBack, (void *)pLeft, (void *)pRight, (void *)pTop, (void *)pBottom);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_008_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_008_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
32
vrclient_x64/cppIVRCompositor_IVRCompositor_008.h
Normal file
32
vrclient_x64/cppIVRCompositor_IVRCompositor_008.h
Normal file
@ -0,0 +1,32 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_008_GetLastError(void *, char *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_SetVSync(void *, bool);
|
||||
extern bool cppIVRCompositor_IVRCompositor_008_GetVSync(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_SetGamma(void *, float);
|
||||
extern float cppIVRCompositor_IVRCompositor_008_GetGamma(void *);
|
||||
extern VRCompositorError cppIVRCompositor_IVRCompositor_008_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern VRCompositorError cppIVRCompositor_IVRCompositor_008_Submit(void *, Hmd_Eye, GraphicsAPIConvention, void *, VRTextureBounds_t *, VRSubmitFlags_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_008_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_FadeGrid(void *, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride(void *, GraphicsAPIConvention, void *, void *, void *, void *, void *, void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_008_IsFullscreen(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(void *, TrackingUniverseOrigin);
|
||||
extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_008_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(void *);
|
||||
extern float cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
134
vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp
Normal file
134
vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp
Normal file
@ -0,0 +1,134 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.13/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_009.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_009_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_009_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_009_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_009_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_009_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_009_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
30
vrclient_x64/cppIVRCompositor_IVRCompositor_009.h
Normal file
30
vrclient_x64/cppIVRCompositor_IVRCompositor_009.h
Normal file
@ -0,0 +1,30 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_009_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_FadeGrid(void *, float, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_009_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_009_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
134
vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp
Normal file
134
vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp
Normal file
@ -0,0 +1,134 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.14/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_010.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_010_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_010_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_010_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_010_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_010_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_010_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
30
vrclient_x64/cppIVRCompositor_IVRCompositor_010.h
Normal file
30
vrclient_x64/cppIVRCompositor_IVRCompositor_010.h
Normal file
@ -0,0 +1,30 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_010_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_FadeGrid(void *, float, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_010_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_010_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
134
vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp
Normal file
134
vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp
Normal file
@ -0,0 +1,134 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.16/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_011.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_011_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_011_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_011_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_011_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_011_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_011_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
30
vrclient_x64/cppIVRCompositor_IVRCompositor_011.h
Normal file
30
vrclient_x64/cppIVRCompositor_IVRCompositor_011.h
Normal file
@ -0,0 +1,30 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_011_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_FadeGrid(void *, float, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_011_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_011_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
144
vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp
Normal file
144
vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp
Normal file
@ -0,0 +1,144 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.17/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_012.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_012_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_012_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_012_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_012_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_012_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
32
vrclient_x64/cppIVRCompositor_IVRCompositor_012.h
Normal file
32
vrclient_x64/cppIVRCompositor_IVRCompositor_012.h
Normal file
@ -0,0 +1,32 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_012_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_FadeGrid(void *, float, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_012_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_012_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
149
vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp
Normal file
149
vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp
Normal file
@ -0,0 +1,149 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.19/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_013.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_013_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_013_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_013_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_013_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_013_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
33
vrclient_x64/cppIVRCompositor_IVRCompositor_013.h
Normal file
33
vrclient_x64/cppIVRCompositor_IVRCompositor_013.h
Normal file
@ -0,0 +1,33 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_013_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_FadeGrid(void *, float, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_013_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_013_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(void *, bool);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
159
vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp
Normal file
159
vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp
Normal file
@ -0,0 +1,159 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.20/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_014.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_014_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_014_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_014_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_014_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_014_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceReconnectProcess();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_014_SuspendRendering(void *linux_side, bool bSuspend)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
35
vrclient_x64/cppIVRCompositor_IVRCompositor_014.h
Normal file
35
vrclient_x64/cppIVRCompositor_IVRCompositor_014.h
Normal file
@ -0,0 +1,35 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_014_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_FadeGrid(void *, float, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_014_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_014_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_014_SuspendRendering(void *, bool);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
199
vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp
Normal file
199
vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp
Normal file
@ -0,0 +1,199 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.1/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_015.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_015_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_015_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_015_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceReconnectProcess();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_SuspendRendering(void *linux_side, bool bSuspend)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_RequestScreenshot(void *linux_side, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->RequestScreenshot((vr::EVRScreenshotType)type, (const char *)pchDestinationFileName, (const char *)pchVRDestinationFileName);
|
||||
}
|
||||
|
||||
vr::EVRScreenshotType cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentScreenshotType();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
43
vrclient_x64/cppIVRCompositor_IVRCompositor_015.h
Normal file
43
vrclient_x64/cppIVRCompositor_IVRCompositor_015.h
Normal file
@ -0,0 +1,43 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_015_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_FadeGrid(void *, float, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_015_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_015_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_SuspendRendering(void *, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_RequestScreenshot(void *, EVRScreenshotType, const char *, const char *);
|
||||
extern EVRScreenshotType cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(void *, EVREye, void *, void **);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
189
vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp
Normal file
189
vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp
Normal file
@ -0,0 +1,189 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.3/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_016.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_016_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_016_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_016_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceReconnectProcess();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_SuspendRendering(void *linux_side, bool bSuspend)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
41
vrclient_x64/cppIVRCompositor_IVRCompositor_016.h
Normal file
41
vrclient_x64/cppIVRCompositor_IVRCompositor_016.h
Normal file
@ -0,0 +1,41 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_016_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_FadeGrid(void *, float, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_016_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_016_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_SuspendRendering(void *, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(void *, EVREye, void *, void **);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
204
vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp
Normal file
204
vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp
Normal file
@ -0,0 +1,204 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.4/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_018.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_018_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_018_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
vr::HmdColor_t cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(void *linux_side, bool bBackground)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_018_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_018_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceReconnectProcess();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_SuspendRendering(void *linux_side, bool bSuspend)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
44
vrclient_x64/cppIVRCompositor_IVRCompositor_018.h
Normal file
44
vrclient_x64/cppIVRCompositor_IVRCompositor_018.h
Normal file
@ -0,0 +1,44 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_018_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_018_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern HmdColor_t cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_FadeGrid(void *, float, bool);
|
||||
extern float cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_018_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_018_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_SuspendRendering(void *, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(void *, EVREye, void *, void **);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
214
vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp
Normal file
214
vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp
Normal file
@ -0,0 +1,214 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.5/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_019.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_019_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_019_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
vr::HmdColor_t cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(void *linux_side, bool bBackground)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_019_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_019_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceReconnectProcess();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_SuspendRendering(void *linux_side, bool bSuspend)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
46
vrclient_x64/cppIVRCompositor_IVRCompositor_019.h
Normal file
46
vrclient_x64/cppIVRCompositor_IVRCompositor_019.h
Normal file
@ -0,0 +1,46 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_019_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_019_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern HmdColor_t cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_FadeGrid(void *, float, bool);
|
||||
extern float cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_019_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_019_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_SuspendRendering(void *, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(void *, EVREye, void *, void **);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
219
vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp
Normal file
219
vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp
Normal file
@ -0,0 +1,219 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.9/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_020.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_020_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_020_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
vr::HmdColor_t cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(void *linux_side, bool bBackground)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_020_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_020_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceReconnectProcess();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_SuspendRendering(void *linux_side, bool bSuspend)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(void *linux_side, void * pD3D11ShaderResourceView)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
47
vrclient_x64/cppIVRCompositor_IVRCompositor_020.h
Normal file
47
vrclient_x64/cppIVRCompositor_IVRCompositor_020.h
Normal file
@ -0,0 +1,47 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_020_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_020_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern HmdColor_t cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_FadeGrid(void *, float, bool);
|
||||
extern float cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_020_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_020_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_SuspendRendering(void *, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(void *, EVREye, void *, void **);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(void *, void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
229
vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp
Normal file
229
vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp
Normal file
@ -0,0 +1,229 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.10/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_021.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_021_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_021_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
vr::HmdColor_t cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(void *linux_side, bool bBackground)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_021_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_021_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceReconnectProcess();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_SuspendRendering(void *linux_side, bool bSuspend)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(void *linux_side, void * pD3D11ShaderResourceView)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(void *linux_side, bool bExplicitTimingMode)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetExplicitTimingMode((bool)bExplicitTimingMode);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SubmitExplicitTimingData();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
49
vrclient_x64/cppIVRCompositor_IVRCompositor_021.h
Normal file
49
vrclient_x64/cppIVRCompositor_IVRCompositor_021.h
Normal file
@ -0,0 +1,49 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_021_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_021_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern HmdColor_t cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_FadeGrid(void *, float, bool);
|
||||
extern float cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_021_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_021_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_SuspendRendering(void *, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(void *, EVREye, void *, void **);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(void *, void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(void *, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
229
vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp
Normal file
229
vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp
Normal file
@ -0,0 +1,229 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.11/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRCompositor_IVRCompositor_022.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin);
|
||||
}
|
||||
|
||||
vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetTrackingSpace();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearLastSubmittedFrame();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_PostPresentHandoff(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->PostPresentHandoff();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_022_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_022_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground);
|
||||
}
|
||||
|
||||
vr::HmdColor_t cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(void *linux_side, bool bBackground)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn);
|
||||
}
|
||||
|
||||
float cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha();
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ClearSkyboxOverride();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorBringToFront();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorGoToBack();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_CompositorQuit(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorQuit();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_022_IsFullscreen(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsFullscreen();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess();
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetLastFrameRenderer();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_022_CanRenderScene(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->CanRenderScene();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ShowMirrorWindow();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->HideMirrorWindow();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->CompositorDumpImages();
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(void *linux_side)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ForceReconnectProcess();
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_SuspendRendering(void *linux_side, bool bSuspend)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(void *linux_side, void * pD3D11ShaderResourceView)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle);
|
||||
}
|
||||
|
||||
bool cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
void cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(void *linux_side, EVRCompositorTimingMode eTimingMode)
|
||||
{
|
||||
((IVRCompositor*)linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)eTimingMode);
|
||||
}
|
||||
|
||||
vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(void *linux_side)
|
||||
{
|
||||
return ((IVRCompositor*)linux_side)->SubmitExplicitTimingData();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
49
vrclient_x64/cppIVRCompositor_IVRCompositor_022.h
Normal file
49
vrclient_x64/cppIVRCompositor_IVRCompositor_022.h
Normal file
@ -0,0 +1,49 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(void *, ETrackingUniverseOrigin);
|
||||
extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_PostPresentHandoff(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_022_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_022_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t);
|
||||
extern float cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_FadeToColor(void *, float, float, float, float, float, bool);
|
||||
extern HmdColor_t cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_FadeGrid(void *, float, bool);
|
||||
extern float cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride(void *, Texture_t *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_CompositorQuit(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_022_IsFullscreen(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(void *);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_022_CanRenderScene(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(void *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(void *, bool);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(void *);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_SuspendRendering(void *, bool);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(void *, EVREye, void *, void **);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(void *, void *);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *);
|
||||
extern bool cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t);
|
||||
extern uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t);
|
||||
extern void cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(void *, EVRCompositorTimingMode);
|
||||
extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
24
vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp
Normal file
24
vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.11/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRDriverManager_IVRDriverManager_001.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(void *linux_side)
|
||||
{
|
||||
return ((IVRDriverManager*)linux_side)->GetDriverCount();
|
||||
}
|
||||
|
||||
uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverName(void *linux_side, DriverId_t nDriver, char * pchValue, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRDriverManager*)linux_side)->GetDriverName((vr::DriverId_t)nDriver, (char *)pchValue, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
8
vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h
Normal file
8
vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h
Normal file
@ -0,0 +1,8 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(void *);
|
||||
extern uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverName(void *, DriverId_t, char *, uint32_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
@ -0,0 +1,29 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.11/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRExtendedDisplay_IVRExtendedDisplay_001.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(void *linux_side, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight)
|
||||
{
|
||||
((IVRExtendedDisplay*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight);
|
||||
}
|
||||
|
||||
void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(void *linux_side, EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight)
|
||||
{
|
||||
((IVRExtendedDisplay*)linux_side)->GetEyeOutputViewport((vr::EVREye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight);
|
||||
}
|
||||
|
||||
void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex)
|
||||
{
|
||||
((IVRExtendedDisplay*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
@ -0,0 +1,9 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *);
|
||||
extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(void *, EVREye, uint32_t *, uint32_t *, uint32_t *, uint32_t *);
|
||||
extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(void *, int32_t *, int32_t *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
29
vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp
Normal file
29
vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp
Normal file
@ -0,0 +1,29 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.10/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRNotifications_IVRNotifications_001.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
uint32_t cppIVRNotifications_IVRNotifications_001_GetErrorString(void *linux_side, NotificationError_t error, char * pchBuffer, uint32_t unBufferSize)
|
||||
{
|
||||
return ((IVRNotifications*)linux_side)->GetErrorString((vr::NotificationError_t)error, (char *)pchBuffer, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
vr::NotificationError_t cppIVRNotifications_IVRNotifications_001_CreateNotification(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId)
|
||||
{
|
||||
return ((IVRNotifications*)linux_side)->CreateNotification((vr::VROverlayHandle_t)ulOverlayHandle, (uint64_t)ulUserValue, (const char *)strType, (const char *)strText, (const char *)strCategory, (const vr::NotificationBitmap *)photo, (vr::VRNotificationId *)notificationId);
|
||||
}
|
||||
|
||||
vr::NotificationError_t cppIVRNotifications_IVRNotifications_001_DismissNotification(void *linux_side, VRNotificationId notificationId)
|
||||
{
|
||||
return ((IVRNotifications*)linux_side)->DismissNotification((vr::VRNotificationId)notificationId);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
9
vrclient_x64/cppIVRNotifications_IVRNotifications_001.h
Normal file
9
vrclient_x64/cppIVRNotifications_IVRNotifications_001.h
Normal file
@ -0,0 +1,9 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern uint32_t cppIVRNotifications_IVRNotifications_001_GetErrorString(void *, NotificationError_t, char *, uint32_t);
|
||||
extern NotificationError_t cppIVRNotifications_IVRNotifications_001_CreateNotification(void *, VROverlayHandle_t, uint64_t, const char *, const char *, const char *, NotificationBitmap *, VRNotificationId *);
|
||||
extern NotificationError_t cppIVRNotifications_IVRNotifications_001_DismissNotification(void *, VRNotificationId);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
24
vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp
Normal file
24
vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.11/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRNotifications_IVRNotifications_002.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVRNotificationError cppIVRNotifications_IVRNotifications_002_CreateNotification(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId)
|
||||
{
|
||||
return ((IVRNotifications*)linux_side)->CreateNotification((vr::VROverlayHandle_t)ulOverlayHandle, (uint64_t)ulUserValue, (vr::EVRNotificationType)type, (const char *)pchText, (vr::EVRNotificationStyle)style, (const vr::NotificationBitmap_t *)pImage, (vr::VRNotificationId *)pNotificationId);
|
||||
}
|
||||
|
||||
vr::EVRNotificationError cppIVRNotifications_IVRNotifications_002_RemoveNotification(void *linux_side, VRNotificationId notificationId)
|
||||
{
|
||||
return ((IVRNotifications*)linux_side)->RemoveNotification((vr::VRNotificationId)notificationId);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
8
vrclient_x64/cppIVRNotifications_IVRNotifications_002.h
Normal file
8
vrclient_x64/cppIVRNotifications_IVRNotifications_002.h
Normal file
@ -0,0 +1,8 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVRNotificationError cppIVRNotifications_IVRNotifications_002_CreateNotification(void *, VROverlayHandle_t, uint64_t, EVRNotificationType, const char *, EVRNotificationStyle, NotificationBitmap_t *, VRNotificationId *);
|
||||
extern EVRNotificationError cppIVRNotifications_IVRNotifications_002_RemoveNotification(void *, VRNotificationId);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
218
vrclient_x64/cppIVROverlay_IVROverlay_001.cpp
Normal file
218
vrclient_x64/cppIVROverlay_IVROverlay_001.cpp
Normal file
@ -0,0 +1,218 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_0.9.2/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_001.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfGamma)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayVisibility(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayVisibility((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayVisibility *)peOverlayVisibility);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayVisibility(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayVisibility((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayVisibility)eOverlayVisibility);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_001_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_092 * pEvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin);
|
||||
struct_VREvent_t_092_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pTexture);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsSystemOverlayVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveSystemOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetSystemOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetSystemOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
46
vrclient_x64/cppIVROverlay_IVROverlay_001.h
Normal file
46
vrclient_x64/cppIVROverlay_IVROverlay_001.h
Normal file
@ -0,0 +1,46 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(void *);
|
||||
extern const char * cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(void *, VROverlayError);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayGamma(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayGamma(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayVisibility(void *, VROverlayHandle_t, VROverlayVisibility *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayVisibility(void *, VROverlayHandle_t, VROverlayVisibility);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_001_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_092 *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTexture(void *, VROverlayHandle_t, void *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern bool cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
228
vrclient_x64/cppIVROverlay_IVROverlay_002.cpp
Normal file
228
vrclient_x64/cppIVROverlay_IVROverlay_002.cpp
Normal file
@ -0,0 +1,228 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.4/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_002.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfGamma)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_002_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_094 * pEvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin);
|
||||
struct_VREvent_t_094_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_002_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
48
vrclient_x64/cppIVROverlay_IVROverlay_002.h
Normal file
48
vrclient_x64/cppIVROverlay_IVROverlay_002.h
Normal file
@ -0,0 +1,48 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(void *);
|
||||
extern const char * cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(void *, VROverlayError);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayGamma(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayGamma(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_002_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_094 *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_002_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
248
vrclient_x64/cppIVROverlay_IVROverlay_003.cpp
Normal file
248
vrclient_x64/cppIVROverlay_IVROverlay_003.cpp
Normal file
@ -0,0 +1,248 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.7/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_003.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_003_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_003_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfGamma)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_003_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_097 * pEvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin);
|
||||
struct_VREvent_t_097_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_003_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_003_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
52
vrclient_x64/cppIVROverlay_IVROverlay_003.h
Normal file
52
vrclient_x64/cppIVROverlay_IVROverlay_003.h
Normal file
@ -0,0 +1,52 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_003_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_003_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(void *, VROverlayError);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayGamma(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayGamma(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_003_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_097 *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_003_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_003_ShowDashboard(void *, const char *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
258
vrclient_x64/cppIVROverlay_IVROverlay_004.cpp
Normal file
258
vrclient_x64/cppIVROverlay_IVROverlay_004.cpp
Normal file
@ -0,0 +1,258 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.8/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_004.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_004_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_004_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfGamma)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_004_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_098 * pEvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin);
|
||||
struct_VREvent_t_098_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_004_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_004_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
54
vrclient_x64/cppIVROverlay_IVROverlay_004.h
Normal file
54
vrclient_x64/cppIVROverlay_IVROverlay_004.h
Normal file
@ -0,0 +1,54 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_004_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_004_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(void *, VROverlayError);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayGamma(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayGamma(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_004_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_098 *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_004_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_004_ShowDashboard(void *, const char *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
278
vrclient_x64/cppIVROverlay_IVROverlay_005.cpp
Normal file
278
vrclient_x64/cppIVROverlay_IVROverlay_005.cpp
Normal file
@ -0,0 +1,278 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.10/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_005.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_005_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_005_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfGamma)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_005_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0910 * pEvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin);
|
||||
struct_VREvent_t_0910_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_005_IsFocusOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsFocusOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_005_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_005_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
vr::VROverlayError cppIVROverlay_IVROverlay_005_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_005_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_005_HideKeyboard(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->HideKeyboard();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
58
vrclient_x64/cppIVROverlay_IVROverlay_005.h
Normal file
58
vrclient_x64/cppIVROverlay_IVROverlay_005.h
Normal file
@ -0,0 +1,58 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_005_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_005_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(void *, VROverlayError);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayGamma(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayGamma(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_005_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_0910 *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern bool cppIVROverlay_IVROverlay_005_IsFocusOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_005_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_005_ShowDashboard(void *, const char *);
|
||||
extern VROverlayError cppIVROverlay_IVROverlay_005_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_005_GetKeyboardText(void *, char *, uint32_t);
|
||||
extern void cppIVROverlay_IVROverlay_005_HideKeyboard(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
303
vrclient_x64/cppIVROverlay_IVROverlay_007.cpp
Normal file
303
vrclient_x64/cppIVROverlay_IVROverlay_007.cpp
Normal file
@ -0,0 +1,303 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.12/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_007.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_007_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_007_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_007_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0912 * pEvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin);
|
||||
struct_VREvent_t_0912_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_007_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_007_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_007_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_007_HideKeyboard(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->HideKeyboard();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
63
vrclient_x64/cppIVROverlay_IVROverlay_007.h
Normal file
63
vrclient_x64/cppIVROverlay_IVROverlay_007.h
Normal file
@ -0,0 +1,63 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_007_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_007_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(void *, EVROverlayError);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_007_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_0912 *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern bool cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_007_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_007_ShowDashboard(void *, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_007_GetKeyboardText(void *, char *, uint32_t);
|
||||
extern void cppIVROverlay_IVROverlay_007_HideKeyboard(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
318
vrclient_x64/cppIVROverlay_IVROverlay_008.cpp
Normal file
318
vrclient_x64/cppIVROverlay_IVROverlay_008.cpp
Normal file
@ -0,0 +1,318 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.14/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_008.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_008_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_008_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_008_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0914 * pEvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin);
|
||||
struct_VREvent_t_0914_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_008_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_008_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_008_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_008_HideKeyboard(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->HideKeyboard();
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
66
vrclient_x64/cppIVROverlay_IVROverlay_008.h
Normal file
66
vrclient_x64/cppIVROverlay_IVROverlay_008.h
Normal file
@ -0,0 +1,66 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_008_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_008_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(void *, EVROverlayError);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_008_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_0914 *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern bool cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_008_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_008_ShowDashboard(void *, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_008_GetKeyboardText(void *, char *, uint32_t);
|
||||
extern void cppIVROverlay_IVROverlay_008_HideKeyboard(void *);
|
||||
extern void cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern void cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
333
vrclient_x64/cppIVROverlay_IVROverlay_010.cpp
Normal file
333
vrclient_x64/cppIVROverlay_IVROverlay_010.cpp
Normal file
@ -0,0 +1,333 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.18/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_010.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_010_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_010_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_010_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin, sizeof(lin));
|
||||
struct_VREvent_t_0918_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_010_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_010_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_010_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_010_HideKeyboard(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->HideKeyboard();
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
69
vrclient_x64/cppIVROverlay_IVROverlay_010.h
Normal file
69
vrclient_x64/cppIVROverlay_IVROverlay_010.h
Normal file
@ -0,0 +1,69 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_010_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_010_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(void *, EVROverlayError);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_010_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_0918 *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern bool cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_010_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_010_ShowDashboard(void *, const char *);
|
||||
extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_010_GetKeyboardText(void *, char *, uint32_t);
|
||||
extern void cppIVROverlay_IVROverlay_010_HideKeyboard(void *);
|
||||
extern void cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern void cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
353
vrclient_x64/cppIVROverlay_IVROverlay_011.cpp
Normal file
353
vrclient_x64/cppIVROverlay_IVROverlay_011.cpp
Normal file
@ -0,0 +1,353 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.20/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_011.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_011_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_011_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_011_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0920 * pEvent, uint32_t uncbVREvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin, sizeof(lin));
|
||||
struct_VREvent_t_0920_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::EGraphicsAPIConvention *)pAPI, (vr::EColorSpace *)pColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_011_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_011_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_011_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_011_HideKeyboard(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->HideKeyboard();
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
73
vrclient_x64/cppIVROverlay_IVROverlay_011.h
Normal file
73
vrclient_x64/cppIVROverlay_IVROverlay_011.h
Normal file
@ -0,0 +1,73 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_011_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_011_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(void *, EVROverlayError);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_011_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_0920 *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern bool cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, EGraphicsAPIConvention *, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_011_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_011_ShowDashboard(void *, const char *);
|
||||
extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_011_GetKeyboardText(void *, char *, uint32_t);
|
||||
extern void cppIVROverlay_IVROverlay_011_HideKeyboard(void *);
|
||||
extern void cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern void cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
358
vrclient_x64/cppIVROverlay_IVROverlay_012.cpp
Normal file
358
vrclient_x64/cppIVROverlay_IVROverlay_012.cpp
Normal file
@ -0,0 +1,358 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.1/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_012.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_012_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_012_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_012_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_101 * pEvent, uint32_t uncbVREvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin, sizeof(lin));
|
||||
struct_VREvent_t_101_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::EGraphicsAPIConvention *)pAPI, (vr::EColorSpace *)pColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_012_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_012_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_012_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_012_HideKeyboard(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->HideKeyboard();
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
74
vrclient_x64/cppIVROverlay_IVROverlay_012.h
Normal file
74
vrclient_x64/cppIVROverlay_IVROverlay_012.h
Normal file
@ -0,0 +1,74 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_012_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_012_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(void *, EVROverlayError);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_012_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_101 *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern bool cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, EGraphicsAPIConvention *, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_012_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_012_ShowDashboard(void *, const char *);
|
||||
extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_012_GetKeyboardText(void *, char *, uint32_t);
|
||||
extern void cppIVROverlay_IVROverlay_012_HideKeyboard(void *);
|
||||
extern void cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern void cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
383
vrclient_x64/cppIVROverlay_IVROverlay_013.cpp
Normal file
383
vrclient_x64/cppIVROverlay_IVROverlay_013.cpp
Normal file
@ -0,0 +1,383 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.4/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_013.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_013_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_013_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_013_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_104 * pEvent, uint32_t uncbVREvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin, sizeof(lin));
|
||||
struct_VREvent_t_104_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::EGraphicsAPIConvention *)pAPI, (vr::EColorSpace *)pColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_013_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_013_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_013_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_013_HideKeyboard(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->HideKeyboard();
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
79
vrclient_x64/cppIVROverlay_IVROverlay_013.h
Normal file
79
vrclient_x64/cppIVROverlay_IVROverlay_013.h
Normal file
@ -0,0 +1,79 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_013_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_013_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(void *, EVROverlayError);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_013_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_104 *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern bool cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, EGraphicsAPIConvention *, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_013_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_013_ShowDashboard(void *, const char *);
|
||||
extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_013_GetKeyboardText(void *, char *, uint32_t);
|
||||
extern void cppIVROverlay_IVROverlay_013_HideKeyboard(void *);
|
||||
extern void cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern void cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
393
vrclient_x64/cppIVROverlay_IVROverlay_014.cpp
Normal file
393
vrclient_x64/cppIVROverlay_IVROverlay_014.cpp
Normal file
@ -0,0 +1,393 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.6/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_014.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_014_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_014_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_014_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_106 * pEvent, uint32_t uncbVREvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin, sizeof(lin));
|
||||
struct_VREvent_t_106_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_014_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_014_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_014_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_014_HideKeyboard(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->HideKeyboard();
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags);
|
||||
}
|
||||
|
||||
vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_014_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
81
vrclient_x64/cppIVROverlay_IVROverlay_014.h
Normal file
81
vrclient_x64/cppIVROverlay_IVROverlay_014.h
Normal file
@ -0,0 +1,81 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_014_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_014_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(void *, EVROverlayError);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_014_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_106 *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern bool cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_014_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_014_ShowDashboard(void *, const char *);
|
||||
extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_014_GetKeyboardText(void *, char *, uint32_t);
|
||||
extern void cppIVROverlay_IVROverlay_014_HideKeyboard(void *);
|
||||
extern void cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern void cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_014_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
423
vrclient_x64/cppIVROverlay_IVROverlay_016.cpp
Normal file
423
vrclient_x64/cppIVROverlay_IVROverlay_016.cpp
Normal file
@ -0,0 +1,423 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.10/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_016.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_016_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_016_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_016_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1010 * pEvent, uint32_t uncbVREvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin, sizeof(lin));
|
||||
struct_VREvent_t_1010_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_016_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_016_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_016_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_016_HideKeyboard(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->HideKeyboard();
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags);
|
||||
}
|
||||
|
||||
vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_016_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_016_CloseMessageOverlay(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->CloseMessageOverlay();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
87
vrclient_x64/cppIVROverlay_IVROverlay_016.h
Normal file
87
vrclient_x64/cppIVROverlay_IVROverlay_016.h
Normal file
@ -0,0 +1,87 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayName(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(void *, EVROverlayError);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, HmdColor_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_016_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1010 *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern bool cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_016_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_016_ShowDashboard(void *, const char *);
|
||||
extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_016_GetKeyboardText(void *, char *, uint32_t);
|
||||
extern void cppIVROverlay_IVROverlay_016_HideKeyboard(void *);
|
||||
extern void cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern void cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_016_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *);
|
||||
extern void cppIVROverlay_IVROverlay_016_CloseMessageOverlay(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
433
vrclient_x64/cppIVROverlay_IVROverlay_017.cpp
Normal file
433
vrclient_x64/cppIVROverlay_IVROverlay_017.cpp
Normal file
@ -0,0 +1,433 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.11/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVROverlay_IVROverlay_017.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetHighQualityOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetHighQualityOverlay();
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_017_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_017_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight);
|
||||
}
|
||||
|
||||
const char * cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_017_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent)
|
||||
{
|
||||
VREvent_t lin;
|
||||
bool _ret;
|
||||
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, &lin, sizeof(lin));
|
||||
struct_VREvent_t_1011_lin_to_win(&lin, pEvent);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, *vCenter, (float)fRadius);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle);
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_017_IsDashboardVisible(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsDashboardVisible();
|
||||
}
|
||||
|
||||
bool cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_017_ShowDashboard(void *linux_side, const char * pchOverlayToShow)
|
||||
{
|
||||
((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow);
|
||||
}
|
||||
|
||||
vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(void *linux_side)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice();
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue);
|
||||
}
|
||||
|
||||
uint32_t cppIVROverlay_IVROverlay_017_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_017_HideKeyboard(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->HideKeyboard();
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect)
|
||||
{
|
||||
((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize);
|
||||
}
|
||||
|
||||
vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags);
|
||||
}
|
||||
|
||||
vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_017_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text)
|
||||
{
|
||||
return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text);
|
||||
}
|
||||
|
||||
void cppIVROverlay_IVROverlay_017_CloseMessageOverlay(void *linux_side)
|
||||
{
|
||||
((IVROverlay*)linux_side)->CloseMessageOverlay();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
89
vrclient_x64/cppIVROverlay_IVROverlay_017.h
Normal file
89
vrclient_x64/cppIVROverlay_IVROverlay_017.h
Normal file
@ -0,0 +1,89 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_FindOverlay(void *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_DestroyOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetHighQualityOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetHighQualityOverlay(void *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayName(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *);
|
||||
extern const char * cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(void *, EVROverlayError);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayColor(void *, VROverlayHandle_t, float, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAlpha(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAlpha(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, HmdColor_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_ShowOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_HideOverlay(void *, VROverlayHandle_t);
|
||||
extern bool cppIVROverlay_IVROverlay_017_IsOverlayVisible(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1011 *, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t);
|
||||
extern bool cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay(void *, VROverlayHandle_t);
|
||||
extern VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_ClearOverlayTexture(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFromFile(void *, VROverlayHandle_t, const char *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *);
|
||||
extern bool cppIVROverlay_IVROverlay_017_IsDashboardVisible(void *);
|
||||
extern bool cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(void *, VROverlayHandle_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern void cppIVROverlay_IVROverlay_017_ShowDashboard(void *, const char *);
|
||||
extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(void *);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t);
|
||||
extern uint32_t cppIVROverlay_IVROverlay_017_GetKeyboardText(void *, char *, uint32_t);
|
||||
extern void cppIVROverlay_IVROverlay_017_HideKeyboard(void *);
|
||||
extern void cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *);
|
||||
extern void cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t);
|
||||
extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *);
|
||||
extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_017_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *);
|
||||
extern void cppIVROverlay_IVROverlay_017_CloseMessageOverlay(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
34
vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp
Normal file
34
vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp
Normal file
@ -0,0 +1,34 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.10/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRRenderModels_IVRRenderModels_001.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
bool cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(void *linux_side, const char * pchRenderModelName, winRenderModel_t_0910 * pRenderModel)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->LoadRenderModel((const char *)pchRenderModelName, struct_RenderModel_t_0910_unwrap(pRenderModel));
|
||||
}
|
||||
|
||||
void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(void *linux_side, winRenderModel_t_0910 * pRenderModel)
|
||||
{
|
||||
((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_0910_unwrap(pRenderModel));
|
||||
}
|
||||
|
||||
uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen);
|
||||
}
|
||||
|
||||
uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(void *linux_side)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->GetRenderModelCount();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
10
vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h
Normal file
10
vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern bool cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(void *, const char *, winRenderModel_t_0910 *);
|
||||
extern void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(void *, winRenderModel_t_0910 *);
|
||||
extern uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(void *, uint32_t, char *, uint32_t);
|
||||
extern uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(void *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
84
vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp
Normal file
84
vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp
Normal file
@ -0,0 +1,84 @@
|
||||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v0.9.15/openvr.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
}
|
||||
#include "cppIVRRenderModels_IVRRenderModels_002.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
bool cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(void *linux_side, const char * pchRenderModelName, winRenderModel_t_0915 ** ppRenderModel)
|
||||
{
|
||||
RenderModel_t *lin;
|
||||
bool _ret;
|
||||
_ret = ((IVRRenderModels*)linux_side)->LoadRenderModel((const char *)pchRenderModelName, &lin);
|
||||
if(_ret == 0)
|
||||
*ppRenderModel = struct_RenderModel_t_0915_wrap(lin);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
void cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(void *linux_side, winRenderModel_t_0915 * pRenderModel)
|
||||
{
|
||||
((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_0915_unwrap(pRenderModel));
|
||||
}
|
||||
|
||||
bool cppIVRRenderModels_IVRRenderModels_002_LoadTexture(void *linux_side, TextureID_t textureId, winRenderModel_TextureMap_t_0915 ** ppTexture)
|
||||
{
|
||||
RenderModel_TextureMap_t *lin;
|
||||
bool _ret;
|
||||
_ret = ((IVRRenderModels*)linux_side)->LoadTexture((vr::TextureID_t)textureId, &lin);
|
||||
if(_ret == 0)
|
||||
*ppTexture = struct_RenderModel_TextureMap_t_0915_wrap(lin);
|
||||
return _ret;
|
||||
}
|
||||
|
||||
void cppIVRRenderModels_IVRRenderModels_002_FreeTexture(void *linux_side, winRenderModel_TextureMap_t_0915 * pTexture)
|
||||
{
|
||||
((IVRRenderModels*)linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_0915_unwrap(pTexture));
|
||||
}
|
||||
|
||||
uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen);
|
||||
}
|
||||
|
||||
uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(void *linux_side)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->GetRenderModelCount();
|
||||
}
|
||||
|
||||
uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(void *linux_side, const char * pchRenderModelName)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->GetComponentCount((const char *)pchRenderModelName);
|
||||
}
|
||||
|
||||
uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentName(void *linux_side, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->GetComponentName((const char *)pchRenderModelName, (uint32_t)unComponentIndex, (char *)pchComponentName, (uint32_t)unComponentNameLen);
|
||||
}
|
||||
|
||||
uint64_t cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(void *linux_side, const char * pchRenderModelName, const char * pchComponentName)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->GetComponentButtonMask((const char *)pchRenderModelName, (const char *)pchComponentName);
|
||||
}
|
||||
|
||||
uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->GetComponentRenderModelName((const char *)pchRenderModelName, (const char *)pchComponentName, (char *)pchComponentRenderModelName, (uint32_t)unComponentRenderModelNameLen);
|
||||
}
|
||||
|
||||
bool cppIVRRenderModels_IVRRenderModels_002_GetComponentState(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, (const vr::VRControllerState_t *)pControllerState, (vr::RenderModel_ComponentState_t *)pComponentState);
|
||||
}
|
||||
|
||||
bool cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(void *linux_side, const char * pchRenderModelName, const char * pchComponentName)
|
||||
{
|
||||
return ((IVRRenderModels*)linux_side)->RenderModelHasComponent((const char *)pchRenderModelName, (const char *)pchComponentName);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
18
vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h
Normal file
18
vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern bool cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(void *, const char *, winRenderModel_t_0915 **);
|
||||
extern void cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(void *, winRenderModel_t_0915 *);
|
||||
extern bool cppIVRRenderModels_IVRRenderModels_002_LoadTexture(void *, TextureID_t, winRenderModel_TextureMap_t_0915 **);
|
||||
extern void cppIVRRenderModels_IVRRenderModels_002_FreeTexture(void *, winRenderModel_TextureMap_t_0915 *);
|
||||
extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(void *, uint32_t, char *, uint32_t);
|
||||
extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(void *);
|
||||
extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(void *, const char *);
|
||||
extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentName(void *, const char *, uint32_t, char *, uint32_t);
|
||||
extern uint64_t cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(void *, const char *, const char *);
|
||||
extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(void *, const char *, const char *, char *, uint32_t);
|
||||
extern bool cppIVRRenderModels_IVRRenderModels_002_GetComponentState(void *, const char *, const char *, VRControllerState_t *, RenderModel_ComponentState_t *);
|
||||
extern bool cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(void *, const char *, const char *);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user