Proton/vrclient_x64/vrclient_x64/winIVRCompositor.c

8234 lines
413 KiB
C
Raw Normal View History

2018-01-18 22:29:49 +03:00
/* This file is auto-generated, do not edit. */
#include <stdarg.h>
#include <stdint.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
#include "vrclient_defs.h"
#include "vrclient_private.h"
#include "struct_converters.h"
#include "flatapi.h"
2018-01-18 22:29:49 +03:00
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
#include "cppIVRCompositor_IVRCompositor_005.h"
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetLastError, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetVSync, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetVSync, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetGamma, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetGamma, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetGraphicsDevice, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_WaitGetPoses, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_Submit, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetOverlayDefaults, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlay, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlayRaw, 24)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlayFromFile, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ClearOverlay, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, 48)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 4)
uint32_t __thiscall winIVRCompositor_IVRCompositor_005_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_005_GetLastError(_this->u_iface, pchBuffer, unBufferSize);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_005_SetVSync(struct w_steam_iface *_this, bool bVSync)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_SetVSync(_this->u_iface, bVSync);
}
bool __thiscall winIVRCompositor_IVRCompositor_005_GetVSync(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_005_GetVSync(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_005_SetGamma(struct w_steam_iface *_this, float fGamma)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_SetGamma(_this->u_iface, fGamma);
}
float __thiscall winIVRCompositor_IVRCompositor_005_GetGamma(struct w_steam_iface *_this)
{
float _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_005_GetGamma(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_005_SetGraphicsDevice(struct w_steam_iface *_this, Compositor_DeviceType eType, void *pDevice)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(_this->u_iface, eType, pDevice);
}
void __thiscall winIVRCompositor_IVRCompositor_005_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_WaitGetPoses(_this->u_iface, pPoseArray, unPoseArrayCount);
}
void __thiscall winIVRCompositor_IVRCompositor_005_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, void *pTexture, Compositor_TextureBounds *pBounds)
{
TRACE("%p\n", _this);
ivrcompositor_005_submit(cppIVRCompositor_IVRCompositor_005_Submit, _this->u_iface, eEye, pTexture, pBounds, 5);
}
void __thiscall winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_005_GetOverlayDefaults(struct w_steam_iface *_this, Compositor_OverlaySettings *pSettings)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(_this->u_iface, pSettings);
}
void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlay(struct w_steam_iface *_this, void *pTexture, Compositor_OverlaySettings *pSettings)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_SetOverlay(_this->u_iface, pTexture, pSettings);
}
void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayRaw(struct w_steam_iface *_this, void *buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings *pSettings)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(_this->u_iface, buffer, width, height, depth, pSettings);
}
void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayFromFile(struct w_steam_iface *_this, const char *pchFilePath, Compositor_OverlaySettings *pSettings)
{
char lin_pchFilePath[PATH_MAX];
vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath);
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(_this->u_iface, pchFilePath ? lin_pchFilePath : NULL, pSettings);
}
void __thiscall winIVRCompositor_IVRCompositor_005_ClearOverlay(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_ClearOverlay(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_005_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_091 *pTiming, uint32_t unFramesAgo)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_005_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_005_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
}
void __thiscall winIVRCompositor_IVRCompositor_005_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
}
void __thiscall winIVRCompositor_IVRCompositor_005_CompositorBringToFront(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_005_CompositorGoToBack(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_005_CompositorQuit(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_CompositorQuit(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_005_IsFullscreen(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_005_IsFullscreen(_this->u_iface);
return _ret;
}
bool __thiscall winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(struct w_steam_iface *_this, const Compositor_OverlaySettings *pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t *pvecIntersectionUV, HmdVector3_t *pvecIntersectionTrackingSpace)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(_this->u_iface, pSettings, fAspectRatio, eOrigin, vSource, vDirection, pvecIntersectionUV, pvecIntersectionTrackingSpace);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_005_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(_this->u_iface, eOrigin);
}
TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_005_GetTrackingSpace(struct w_steam_iface *_this)
{
TrackingUniverseOrigin _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(_this->u_iface);
return _ret;
}
extern vtable_ptr winIVRCompositor_IVRCompositor_005_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_005,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetLastError)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetVSync)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetVSync)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetGamma)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetGamma)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetGraphicsDevice)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetOverlayDefaults)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlay)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlayRaw)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlayFromFile)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ClearOverlay)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetTrackingSpace)
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_005(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_005_vtable;
r->u_iface = u_iface;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_005(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_005_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(24);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_005_GetLastError, 2, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_005_SetVSync, 1, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_005_GetVSync, 0, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_005_SetGamma, 1, TRUE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_005_GetGamma, 0, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_005_SetGraphicsDevice, 2, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_005_WaitGetPoses, 2, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_005_Submit, 3, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_005_GetOverlayDefaults, 1, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_005_SetOverlay, 2, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_005_SetOverlayRaw, 5, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_005_SetOverlayFromFile, 2, FALSE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_005_ClearOverlay, 0, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_005_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_005_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_005_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_005_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_005_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_005_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_005_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, 7, TRUE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 0, FALSE, FALSE);
for (i = 0; i < 24; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_005_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_006.h"
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetLastError, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetVSync, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetVSync, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetGamma, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetGamma, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetGraphicsDevice, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_Submit, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CanRenderScene, 4)
uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_006_GetLastError(_this->u_iface, pchBuffer, unBufferSize);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_006_SetVSync(struct w_steam_iface *_this, bool bVSync)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_006_SetVSync(_this->u_iface, bVSync);
}
bool __thiscall winIVRCompositor_IVRCompositor_006_GetVSync(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_006_GetVSync(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_006_SetGamma(struct w_steam_iface *_this, float fGamma)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_006_SetGamma(_this->u_iface, fGamma);
}
float __thiscall winIVRCompositor_IVRCompositor_006_GetGamma(struct w_steam_iface *_this)
{
float _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_006_GetGamma(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_006_SetGraphicsDevice(struct w_steam_iface *_this, Compositor_DeviceType eType, void *pDevice)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(_this->u_iface, eType, pDevice);
}
VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
{
VRCompositorError _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_006_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
}
VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, void *pTexture, VRTextureBounds_t *pBounds)
{
VRCompositorError _ret;
TRACE("%p\n", _this);
_ret = ivrcompositor_006_submit(cppIVRCompositor_IVRCompositor_006_Submit, _this->u_iface, eEye, pTexture, pBounds, 6);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_006_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_092 *pTiming, uint32_t unFramesAgo)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_006_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_006_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_006_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
}
void __thiscall winIVRCompositor_IVRCompositor_006_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_006_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
}
void __thiscall winIVRCompositor_IVRCompositor_006_CompositorBringToFront(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_006_CompositorGoToBack(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_006_CompositorQuit(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_006_CompositorQuit(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_006_IsFullscreen(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_006_IsFullscreen(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_006_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(_this->u_iface, eOrigin);
}
TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_006_GetTrackingSpace(struct w_steam_iface *_this)
{
TrackingUniverseOrigin _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(_this->u_iface);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
}
bool __thiscall winIVRCompositor_IVRCompositor_006_CanRenderScene(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_006_CanRenderScene(_this->u_iface);
return _ret;
}
extern vtable_ptr winIVRCompositor_IVRCompositor_006_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_006,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetLastError)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetVSync)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetVSync)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetGamma)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetGamma)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetGraphicsDevice)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CanRenderScene)
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_006(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_006_vtable;
r->u_iface = u_iface;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_006(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_006_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(20);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_006_GetLastError, 2, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_006_SetVSync, 1, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_006_GetVSync, 0, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_006_SetGamma, 1, TRUE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_006_GetGamma, 0, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_006_SetGraphicsDevice, 2, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_006_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_006_Submit, 3, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_006_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_006_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_006_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_006_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_006_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_006_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_006_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_006_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_006_CanRenderScene, 0, FALSE, FALSE);
for (i = 0; i < 20; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_006_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_007.h"
2020-03-18 21:50:21 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetLastError, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetVSync, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetVSync, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetGamma, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetGamma, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CanRenderScene, 4)
uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize)
2020-03-18 21:50:21 +03:00
{
uint32_t _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_007_GetLastError(_this->u_iface, pchBuffer, unBufferSize);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_007_SetVSync(struct w_steam_iface *_this, bool bVSync)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_007_SetVSync(_this->u_iface, bVSync);
2020-03-18 21:50:21 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_007_GetVSync(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
bool _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_007_GetVSync(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_007_SetGamma(struct w_steam_iface *_this, float fGamma)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_007_SetGamma(_this->u_iface, fGamma);
2020-03-18 21:50:21 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_007_GetGamma(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
float _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_007_GetGamma(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2020-03-18 21:50:21 +03:00
{
VRCompositorError _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_007_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2020-03-18 21:50:21 +03:00
}
VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void *pTexture, const VRTextureBounds_t *pBounds)
2020-03-18 21:50:21 +03:00
{
VRCompositorError _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_007_submit(cppIVRCompositor_IVRCompositor_007_Submit, _this->u_iface, eEye, eTextureType, pTexture, pBounds, 7);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_007_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_098 *pTiming, uint32_t unFramesAgo)
2020-03-18 21:50:21 +03:00
{
bool _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_007_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_007_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_007_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_007_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_007_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_007_CompositorBringToFront(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_007_CompositorGoToBack(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_007_CompositorQuit(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_007_CompositorQuit(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_007_IsFullscreen(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
bool _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_007_IsFullscreen(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_007_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(_this->u_iface, eOrigin);
2020-03-18 21:50:21 +03:00
}
TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_007_GetTrackingSpace(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TrackingUniverseOrigin _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
uint32_t _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_007_CanRenderScene(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
bool _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_007_CanRenderScene(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_007_vtable;
2020-03-18 21:50:21 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_007,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetLastError)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetVSync)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetVSync)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetGamma)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetGamma)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CanRenderScene)
);
#ifndef __GNUC__
2020-03-18 21:50:21 +03:00
}
#endif
2020-03-18 21:50:21 +03:00
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_007(void *u_iface)
2020-03-18 21:50:21 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_007_vtable;
r->u_iface = u_iface;
return r;
2020-03-18 21:50:21 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_007(struct w_steam_iface *object)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
2020-03-18 21:50:21 +03:00
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_007_FnTable(void *u_iface)
2020-03-18 21:50:21 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(19);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 19 * sizeof(*vtable));
int i;
2020-03-18 21:50:21 +03:00
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_007_GetLastError, 2, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_007_SetVSync, 1, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_007_GetVSync, 0, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_007_SetGamma, 1, TRUE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_007_GetGamma, 0, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_007_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_007_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_007_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_007_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_007_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_007_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_007_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_007_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_007_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_007_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_007_CanRenderScene, 0, FALSE, FALSE);
for (i = 0; i < 19; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_007_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_008.h"
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastError, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetVSync, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetVSync, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetGamma, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetGamma, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_Submit, 24)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetSkyboxOverride, 32)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 4)
uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize)
{
uint32_t _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_GetLastError(_this->u_iface, pchBuffer, unBufferSize);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_SetVSync(struct w_steam_iface *_this, bool bVSync)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_SetVSync(_this->u_iface, bVSync);
2020-03-18 21:50:21 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_008_GetVSync(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
bool _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_GetVSync(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_SetGamma(struct w_steam_iface *_this, float fGamma)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_SetGamma(_this->u_iface, fGamma);
2020-03-18 21:50:21 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_008_GetGamma(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
float _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_GetGamma(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2020-03-18 21:50:21 +03:00
{
VRCompositorError _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2020-03-18 21:50:21 +03:00
}
VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_Submit(struct w_steam_iface *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void *pTexture, const VRTextureBounds_t *pBounds, VRSubmitFlags_t nSubmitFlags)
2020-03-18 21:50:21 +03:00
{
VRCompositorError _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_008_submit(cppIVRCompositor_IVRCompositor_008_Submit, _this->u_iface, eEye, eTextureType, pTexture, pBounds, nSubmitFlags, 8);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_0910 *pTiming, uint32_t unFramesAgo)
2020-03-18 21:50:21 +03:00
{
bool _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_SetSkyboxOverride(struct w_steam_iface *_this, GraphicsAPIConvention eTextureType, void *pFront, void *pBack, void *pLeft, void *pRight, void *pTop, void *pBottom)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_008_set_skybox_override(cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride, _this->u_iface, eTextureType, pFront, pBack, pLeft, pRight, pTop, pBottom, 8);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_CompositorBringToFront(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_CompositorGoToBack(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_CompositorQuit(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_CompositorQuit(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_008_IsFullscreen(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
bool _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_IsFullscreen(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_SetTrackingSpace(struct w_steam_iface *_this, TrackingUniverseOrigin eOrigin)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(_this->u_iface, eOrigin);
2020-03-18 21:50:21 +03:00
}
TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_008_GetTrackingSpace(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TrackingUniverseOrigin _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
uint32_t _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_008_CanRenderScene(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
bool _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_CanRenderScene(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_ShowMirrorWindow(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_HideMirrorWindow(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_008_CompositorDumpImages(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(_this->u_iface);
2020-03-18 21:50:21 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(struct w_steam_iface *_this)
2020-03-18 21:50:21 +03:00
{
float _ret;
2020-03-18 21:50:21 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2020-03-18 21:50:21 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(struct w_steam_iface *_this)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(_this->u_iface);
return _ret;
}
extern vtable_ptr winIVRCompositor_IVRCompositor_008_vtable;
2020-03-18 21:50:21 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_008,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetLastError)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetVSync)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetVSync)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetGamma)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetGamma)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer)
);
2020-03-18 21:50:21 +03:00
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_008(void *u_iface)
2020-03-18 21:50:21 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
2020-03-18 21:50:21 +03:00
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_008_vtable;
r->u_iface = u_iface;
2020-03-18 21:50:21 +03:00
return r;
}
void destroy_winIVRCompositor_IVRCompositor_008(struct w_steam_iface *object)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_008_FnTable(void *u_iface)
2020-03-18 21:50:21 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(26);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable));
2020-03-18 21:50:21 +03:00
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_008_GetLastError, 2, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_008_SetVSync, 1, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_008_GetVSync, 0, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_008_SetGamma, 1, TRUE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_008_GetGamma, 0, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_008_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_008_Submit, 5, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_008_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_008_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_008_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_008_SetSkyboxOverride, 7, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_008_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_008_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_008_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_008_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_008_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_008_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_008_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_008_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_008_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_008_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 0, FALSE, FALSE);
for (i = 0; i < 26; i++)
2020-03-18 21:50:21 +03:00
vtable[i] = &thunks[i];
r->u_iface = u_iface;
2020-03-18 21:50:21 +03:00
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_008_FnTable(struct w_steam_iface *object)
2020-03-18 21:50:21 +03:00
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
2020-03-18 21:50:21 +03:00
}
#include "cppIVRCompositor_IVRCompositor_009.h"
2020-03-18 21:50:17 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 4)
void __thiscall winIVRCompositor_IVRCompositor_009_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(_this->u_iface, eOrigin);
2020-03-18 21:50:17 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_009_GetTrackingSpace(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
ETrackingUniverseOrigin _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2020-03-18 21:50:17 +03:00
{
EVRCompositorError _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_009_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2020-03-18 21:50:17 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2020-03-18 21:50:17 +03:00
{
EVRCompositorError _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_009_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2020-03-18 21:50:17 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2020-03-18 21:50:17 +03:00
{
EVRCompositorError _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_009_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 9);
return _ret;
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_009_PostPresentHandoff, _this->u_iface, 9);
2020-03-18 21:50:17 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_0913 *pTiming, uint32_t unFramesAgo)
2020-03-18 21:50:17 +03:00
{
bool _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_009_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2020-03-18 21:50:17 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
float _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2020-03-18 21:50:17 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2020-03-18 21:50:17 +03:00
{
EVRCompositorError _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 9);
return _ret;
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_CompositorBringToFront(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_CompositorGoToBack(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_CompositorQuit(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_CompositorQuit(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_009_IsFullscreen(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
bool _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_009_IsFullscreen(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
uint32_t _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
uint32_t _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_009_CanRenderScene(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
bool _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_009_CanRenderScene(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_ShowMirrorWindow(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_HideMirrorWindow(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
bool _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_009_CompositorDumpImages(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_009_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_009,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorDumpImages)
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_009(void *u_iface)
2020-03-18 21:50:17 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_009_vtable;
r->u_iface = u_iface;
return r;
2020-03-18 21:50:17 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_009(struct w_steam_iface *object)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
2020-03-18 21:50:17 +03:00
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_009_FnTable(void *u_iface)
2020-03-18 21:50:17 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(24);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_009_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_009_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_009_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_009_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_009_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_009_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_009_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_009_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_009_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_009_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_009_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_009_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_009_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_009_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 0, FALSE, FALSE);
for (i = 0; i < 24; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
2020-03-18 21:50:17 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_009_FnTable(struct w_steam_iface *object)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
2020-03-18 21:50:17 +03:00
}
#include "cppIVRCompositor_IVRCompositor_010.h"
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 4)
void __thiscall winIVRCompositor_IVRCompositor_010_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(_this->u_iface, eOrigin);
2020-03-18 21:50:17 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_010_GetTrackingSpace(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
ETrackingUniverseOrigin _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2020-03-18 21:50:17 +03:00
{
EVRCompositorError _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_010_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2020-03-18 21:50:17 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2020-03-18 21:50:17 +03:00
{
EVRCompositorError _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_010_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2020-03-18 21:50:17 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2020-03-18 21:50:17 +03:00
{
EVRCompositorError _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_010_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 10);
return _ret;
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_010_PostPresentHandoff, _this->u_iface, 10);
2020-03-18 21:50:17 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_0914 *pTiming, uint32_t unFramesAgo)
2020-03-18 21:50:17 +03:00
{
bool _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_010_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2020-03-18 21:50:17 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
float _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_010_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_010_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2020-03-18 21:50:17 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2020-03-18 21:50:17 +03:00
{
EVRCompositorError _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 10);
return _ret;
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_010_CompositorBringToFront(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_010_CompositorGoToBack(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_010_CompositorQuit(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_CompositorQuit(_this->u_iface);
2020-03-18 21:50:17 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_010_IsFullscreen(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
bool _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_010_IsFullscreen(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
uint32_t _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
uint32_t _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_010_CanRenderScene(struct w_steam_iface *_this)
2020-03-18 21:50:17 +03:00
{
bool _ret;
2020-03-18 21:50:17 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_010_CanRenderScene(_this->u_iface);
return _ret;
2020-03-18 21:50:17 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_010_ShowMirrorWindow(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_010_HideMirrorWindow(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_010_CompositorDumpImages(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(_this->u_iface);
}
extern vtable_ptr winIVRCompositor_IVRCompositor_010_vtable;
#ifndef __GNUC__
2020-03-18 21:50:17 +03:00
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_010,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorDumpImages)
2020-03-18 21:50:17 +03:00
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_010(void *u_iface)
2020-03-18 21:50:17 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
2020-03-18 21:50:17 +03:00
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_010_vtable;
r->u_iface = u_iface;
2020-03-18 21:50:17 +03:00
return r;
}
void destroy_winIVRCompositor_IVRCompositor_010(struct w_steam_iface *object)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_010_FnTable(void *u_iface)
2020-03-18 21:50:17 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(24);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable));
2020-03-18 21:50:17 +03:00
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_010_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_010_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_010_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_010_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_010_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_010_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_010_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_010_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_010_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_010_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_010_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_010_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_010_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_010_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 0, FALSE, FALSE);
for (i = 0; i < 24; i++)
2020-03-18 21:50:17 +03:00
vtable[i] = &thunks[i];
r->u_iface = u_iface;
2020-03-18 21:50:17 +03:00
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_010_FnTable(struct w_steam_iface *object)
2020-03-18 21:50:17 +03:00
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
2020-03-18 21:50:17 +03:00
}
#include "cppIVRCompositor_IVRCompositor_011.h"
2018-01-18 22:29:49 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 4)
void __thiscall winIVRCompositor_IVRCompositor_011_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(_this->u_iface, eOrigin);
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_011_GetTrackingSpace(struct w_steam_iface *_this)
{
ETrackingUniverseOrigin _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(_this->u_iface);
return _ret;
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
{
EVRCompositorError _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_011_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_011_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_011_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 11);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_011_PostPresentHandoff, _this->u_iface, 11);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_011_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(struct w_steam_iface *_this)
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 11);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_011_IsFullscreen(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_011_IsFullscreen(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_011_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_011_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_011_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_011_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_011,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorDumpImages)
);
#ifndef __GNUC__
2018-01-18 22:29:49 +03:00
}
#endif
2018-01-18 22:29:49 +03:00
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_011(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_011_vtable;
r->u_iface = u_iface;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_011(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_011_FnTable(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(24);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_011_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_011_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_011_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_011_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_011_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_011_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_011_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_011_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_011_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_011_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_011_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_011_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_011_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_011_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 0, FALSE, FALSE);
for (i = 0; i < 24; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_011_FnTable(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
#include "cppIVRCompositor_IVRCompositor_012.h"
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 4)
void __thiscall winIVRCompositor_IVRCompositor_012_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_012_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_012_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 12);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_012_PostPresentHandoff, _this->u_iface, 12);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 12);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_CompositorBringToFront(struct w_steam_iface *_this)
2018-12-14 22:20:13 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(_this->u_iface);
2018-12-14 22:20:13 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_CompositorGoToBack(struct w_steam_iface *_this)
2019-06-28 22:27:56 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(_this->u_iface);
2019-06-28 22:27:56 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_CompositorQuit(struct w_steam_iface *_this)
2019-06-28 22:27:56 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_CompositorQuit(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_012_IsFullscreen(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_IsFullscreen(_this->u_iface);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_012_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_012_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_012_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_012,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources)
);
#ifndef __GNUC__
2018-01-18 22:29:49 +03:00
}
#endif
2018-01-18 22:29:49 +03:00
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_012(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_012_vtable;
r->u_iface = u_iface;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_012(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_012_FnTable(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(26);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_012_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_012_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_012_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_012_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_012_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_012_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_012_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_012_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_012_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_012_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_012_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_012_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_012_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_012_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_012_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
for (i = 0; i < 26; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_012_FnTable(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
#include "cppIVRCompositor_IVRCompositor_013.h"
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 8)
void __thiscall winIVRCompositor_IVRCompositor_013_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_013_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_013_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 13);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_013_PostPresentHandoff, _this->u_iface, 13);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 13);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_013_IsFullscreen(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_IsFullscreen(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_013_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_013_vtable;
2018-01-18 22:29:49 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_013,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn)
2018-01-18 22:29:49 +03:00
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_013(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
2018-01-18 22:29:49 +03:00
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_013_vtable;
r->u_iface = u_iface;
2018-01-18 22:29:49 +03:00
return r;
}
void destroy_winIVRCompositor_IVRCompositor_013(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_013_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(27);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 27 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_013_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_013_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_013_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_013_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_013_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_013_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_013_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_013_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_013_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_013_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_013_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_013_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_013_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_013_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_013_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_013_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
for (i = 0; i < 27; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_013_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_014.h"
2018-01-18 22:29:49 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SuspendRendering, 8)
void __thiscall winIVRCompositor_IVRCompositor_014_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_014_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_014_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 14);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_014_PostPresentHandoff, _this->u_iface, 14);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 14);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_014_IsFullscreen(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_IsFullscreen(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_014_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_ForceReconnectProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_014_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_014_SuspendRendering(_this->u_iface, bSuspend);
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_014_vtable;
2018-01-18 22:29:49 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_014,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SuspendRendering)
);
#ifndef __GNUC__
2018-01-18 22:29:49 +03:00
}
#endif
2018-01-18 22:29:49 +03:00
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_014(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_014_vtable;
r->u_iface = u_iface;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_014(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_014_FnTable(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(29);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 29 * sizeof(*vtable));
int i;
2018-01-18 22:29:49 +03:00
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_014_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_014_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_014_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_014_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_014_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_014_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_014_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_014_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_014_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_014_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_014_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_014_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_014_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_014_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_014_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_014_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_014_SuspendRendering, 1, FALSE, FALSE);
for (i = 0; i < 29; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_014_FnTable(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
#include "cppIVRCompositor_IVRCompositor_015.h"
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_RequestScreenshot, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 8)
void __thiscall winIVRCompositor_IVRCompositor_015_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_015_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_015_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 15);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_015_PostPresentHandoff, _this->u_iface, 15);
}
bool __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
}
float __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 15);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_015_IsFullscreen(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_IsFullscreen(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_015_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_ForceReconnectProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_SuspendRendering(_this->u_iface, bSuspend);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_RequestScreenshot(struct w_steam_iface *_this, EVRScreenshotType type, const char *pchDestinationFileName, const char *pchVRDestinationFileName)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_RequestScreenshot(_this->u_iface, type, pchDestinationFileName, pchVRDestinationFileName);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRScreenshotType __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
EVRScreenshotType _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_015_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_015,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_RequestScreenshot)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess)
);
#ifndef __GNUC__
2018-01-18 22:29:49 +03:00
}
#endif
2018-01-18 22:29:49 +03:00
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_015(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_015_vtable;
r->u_iface = u_iface;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_015(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_015_FnTable(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(37);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_015_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_015_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_015_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_015_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_015_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_015_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_015_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_015_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_015_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_015_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_015_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_015_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_015_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_015_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_015_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_015_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_015_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_015_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_015_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_015_RequestScreenshot, 3, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, 0, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
for (i = 0; i < 37; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_015_FnTable(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
#include "cppIVRCompositor_IVRCompositor_016.h"
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 8)
void __thiscall winIVRCompositor_IVRCompositor_016_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_016_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_016_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 16);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_016_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 16);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_016_PostPresentHandoff, _this->u_iface, 16);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTiming(struct w_steam_iface *_this, winCompositor_FrameTiming_103 *pTiming, uint32_t unFramesAgo)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
}
float __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(struct w_steam_iface *_this)
{
float _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_016_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
}
void __thiscall winIVRCompositor_IVRCompositor_016_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 16);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_016_IsFullscreen(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_IsFullscreen(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_016_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_ForceReconnectProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_SuspendRendering(_this->u_iface, bSuspend);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_016_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_016,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess)
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_016(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_016_vtable;
r->u_iface = u_iface;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_016(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_016_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(35);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 35 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_016_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_016_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_016_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_016_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_016_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_016_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_016_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_016_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_016_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_016_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_016_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_016_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_016_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_016_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_016_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_016_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_016_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_016_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_016_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
for (i = 0; i < 35; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_016_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_017.h"
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTimings, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 8)
void __thiscall winIVRCompositor_IVRCompositor_017_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_017_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_017_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 17);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_017_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 17);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_017_PostPresentHandoff, _this->u_iface, 17);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_GetFrameTimings(_this->u_iface, pTiming, nFrames);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_017_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_017_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
}
void __thiscall winIVRCompositor_IVRCompositor_017_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
{
EVRCompositorError _ret;
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 17);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_017_CompositorBringToFront(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_017_CompositorGoToBack(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_017_CompositorQuit(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_CompositorQuit(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_017_IsFullscreen(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_IsFullscreen(_this->u_iface);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(struct w_steam_iface *_this)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(_this->u_iface);
return _ret;
}
bool __thiscall winIVRCompositor_IVRCompositor_017_CanRenderScene(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_CanRenderScene(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_017_ShowMirrorWindow(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_017_HideMirrorWindow(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_017_CompositorDumpImages(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
}
void __thiscall winIVRCompositor_IVRCompositor_017_ForceReconnectProcess(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_017_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_SuspendRendering(_this->u_iface, bSuspend);
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
{
EVRCompositorError _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
{
EVRCompositorError _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
}
bool __thiscall winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
}
void __thiscall winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
}
extern vtable_ptr winIVRCompositor_IVRCompositor_017_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_017,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTimings)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess)
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_017(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_017_vtable;
r->u_iface = u_iface;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_017(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_017_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(36);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_017_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_017_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_017_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_017_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_017_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_017_GetFrameTimings, 2, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_017_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_017_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_017_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_017_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_017_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_017_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_017_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_017_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_017_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_017_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_017_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_017_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_017_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_017_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
for (i = 0; i < 36; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_017_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_018.h"
2018-01-18 22:29:49 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTimings, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 8)
void __thiscall winIVRCompositor_IVRCompositor_018_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_018_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_018_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 18);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_018_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 18);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_018_PostPresentHandoff, _this->u_iface, 18);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetFrameTimings(_this->u_iface, pTiming, nFrames);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
*_ret = cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(_this->u_iface, bBackground);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 18);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_018_IsFullscreen(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_IsFullscreen(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_018_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_ForceReconnectProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_SuspendRendering(_this->u_iface, bSuspend);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
}
extern vtable_ptr winIVRCompositor_IVRCompositor_018_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_018,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTimings)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess)
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_018(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_018_vtable;
r->u_iface = u_iface;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_018(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_018_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(38);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_018_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_018_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_018_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_018_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_018_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_018_GetFrameTimings, 2, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_018_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_018_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor, 2, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_018_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_018_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_018_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_018_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_018_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_018_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_018_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_018_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_018_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_018_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_018_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_018_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
for (i = 0; i < 38; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_018_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_019.h"
2018-01-18 22:29:49 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTimings, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 16)
void __thiscall winIVRCompositor_IVRCompositor_019_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_019_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_019_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 19);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_019_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 19);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_019_PostPresentHandoff, _this->u_iface, 19);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetFrameTimings(_this->u_iface, pTiming, nFrames);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
*_ret = cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(_this->u_iface, bBackground);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 19);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_019_IsFullscreen(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_IsFullscreen(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_019_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_ForceReconnectProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_SuspendRendering(_this->u_iface, bSuspend);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 19);
return _ret;
}
extern vtable_ptr winIVRCompositor_IVRCompositor_019_vtable;
2018-01-18 22:29:49 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_019,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTimings)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired)
2018-01-18 22:29:49 +03:00
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_019(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
2018-01-18 22:29:49 +03:00
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_019_vtable;
r->u_iface = u_iface;
2018-01-18 22:29:49 +03:00
return r;
}
void destroy_winIVRCompositor_IVRCompositor_019(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_019_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(40);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_019_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_019_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_019_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_019_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_019_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_019_GetFrameTimings, 2, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_019_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_019_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor, 2, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_019_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_019_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_019_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_019_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_019_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_019_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_019_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_019_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_019_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_019_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_019_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_019_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE);
init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE);
for (i = 0; i < 40; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_019_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_020.h"
2018-01-18 22:29:49 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTimings, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 16)
void __thiscall winIVRCompositor_IVRCompositor_020_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_020_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_020_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 20);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_020_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 20);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_020_PostPresentHandoff, _this->u_iface, 20);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetFrameTimings(_this->u_iface, pTiming, nFrames);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
*_ret = cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(_this->u_iface, bBackground);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 20);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_020_IsFullscreen(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_IsFullscreen(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_020_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
}
2018-01-18 22:29:49 +03:00
void __thiscall winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_ForceReconnectProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_SuspendRendering(_this->u_iface, bSuspend);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 20);
return _ret;
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_020_vtable;
2018-01-18 22:29:49 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_020,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTimings)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired)
);
#ifndef __GNUC__
2018-01-18 22:29:49 +03:00
}
#endif
2018-01-18 22:29:49 +03:00
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_020(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_020_vtable;
r->u_iface = u_iface;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_020(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_020_FnTable(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(41);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 41 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_020_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_020_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_020_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_020_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_020_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_020_GetFrameTimings, 2, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_020_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_020_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor, 2, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_020_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_020_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_020_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_020_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_020_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_020_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_020_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_020_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_020_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_020_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_020_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_020_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE);
init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE);
init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE);
for (i = 0; i < 41; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_020_FnTable(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
#include "cppIVRCompositor_IVRCompositor_021.h"
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTimings, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 4)
void __thiscall winIVRCompositor_IVRCompositor_021_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_021_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_021_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 21);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_021_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 21);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_021_PostPresentHandoff, _this->u_iface, 21);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetFrameTimings(_this->u_iface, pTiming, nFrames);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_021_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
}
void __thiscall winIVRCompositor_IVRCompositor_021_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
}
HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground)
{
TRACE("%p\n", _this);
*_ret = cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(_this->u_iface, bBackground);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_021_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 21);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_021_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_021_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_021_CompositorQuit(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_CompositorQuit(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_021_IsFullscreen(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_IsFullscreen(_this->u_iface);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(struct w_steam_iface *_this)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(_this->u_iface);
return _ret;
}
bool __thiscall winIVRCompositor_IVRCompositor_021_CanRenderScene(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_CanRenderScene(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_021_ShowMirrorWindow(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_021_HideMirrorWindow(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_021_CompositorDumpImages(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
}
void __thiscall winIVRCompositor_IVRCompositor_021_ForceReconnectProcess(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_021_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_SuspendRendering(_this->u_iface, bSuspend);
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
{
EVRCompositorError _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView);
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
{
EVRCompositorError _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
}
bool __thiscall winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
}
void __thiscall winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 21);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(struct w_steam_iface *_this, bool bExplicitTimingMode)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(_this->u_iface, bExplicitTimingMode);
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(struct w_steam_iface *_this)
{
EVRCompositorError _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(_this->u_iface);
return _ret;
}
extern vtable_ptr winIVRCompositor_IVRCompositor_021_vtable;
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_021,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTimings)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData)
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_021(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_021_vtable;
r->u_iface = u_iface;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_021(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_021_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(43);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 43 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_021_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_021_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_021_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_021_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_021_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_021_GetFrameTimings, 2, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_021_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_021_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor, 2, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_021_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_021_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_021_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_021_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_021_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_021_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_021_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_021_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_021_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_021_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_021_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_021_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE);
init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE);
init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE);
init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 1, FALSE, FALSE);
init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 0, FALSE, FALSE);
for (i = 0; i < 43; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
2018-01-18 22:29:49 +03:00
}
void destroy_winIVRCompositor_IVRCompositor_021_FnTable(struct w_steam_iface *object)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
2018-01-18 22:29:49 +03:00
}
#include "cppIVRCompositor_IVRCompositor_022.h"
2018-01-18 22:29:49 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTimings, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 4)
void __thiscall winIVRCompositor_IVRCompositor_022_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_022_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_022_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 22);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_022_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 22);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_022_PostPresentHandoff, _this->u_iface, 22);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetFrameTimings(_this->u_iface, pTiming, nFrames);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
*_ret = cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(_this->u_iface, bBackground);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 22);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_CompositorGoToBack(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_022_CompositorQuit(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_CompositorQuit(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_022_IsFullscreen(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_IsFullscreen(_this->u_iface);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_022_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_ForceReconnectProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_SuspendRendering(_this->u_iface, bSuspend);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 22);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(_this->u_iface, eTimingMode);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_022_vtable;
2018-01-18 22:29:49 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_022,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTimings)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading)
2018-01-18 22:29:49 +03:00
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_022(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
2018-01-18 22:29:49 +03:00
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_022_vtable;
r->u_iface = u_iface;
2018-01-18 22:29:49 +03:00
return r;
}
void destroy_winIVRCompositor_IVRCompositor_022(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_022_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(46);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_022_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_022_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_022_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_022_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_022_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_022_GetFrameTimings, 2, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_022_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_022_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor, 2, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_022_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_022_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_022_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_022_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_022_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_022_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_022_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_022_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_022_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_022_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_022_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_022_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE);
init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE);
init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE);
init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode, 1, FALSE, FALSE);
init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, 0, FALSE, FALSE);
init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, 0, FALSE, FALSE);
init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 0, FALSE, FALSE);
init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE);
for (i = 0; i < 46; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_022_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_024.h"
2018-01-18 22:29:49 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTimings, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearStageOverride, 4)
void __thiscall winIVRCompositor_IVRCompositor_024_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_024_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_024_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 24);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_024_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 24);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_024_PostPresentHandoff, _this->u_iface, 24);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetFrameTimings(_this->u_iface, pTiming, nFrames);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
*_ret = cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(_this->u_iface, bBackground);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 24);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_024_IsFullscreen(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_IsFullscreen(_this->u_iface);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(struct w_steam_iface *_this)
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(_this->u_iface);
return _ret;
}
bool __thiscall winIVRCompositor_IVRCompositor_024_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_ForceReconnectProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_SuspendRendering(_this->u_iface, bSuspend);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 24);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(_this->u_iface, eTimingMode);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetStageOverride_Async(struct w_steam_iface *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
char lin_pchRenderModelPath[PATH_MAX];
vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath);
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(_this->u_iface, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_024_ClearStageOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_024_ClearStageOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_024_vtable;
2018-01-18 22:29:49 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_024,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTimings)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearStageOverride)
2018-01-18 22:29:49 +03:00
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_024(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
2018-01-18 22:29:49 +03:00
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_024_vtable;
r->u_iface = u_iface;
2018-01-18 22:29:49 +03:00
return r;
}
void destroy_winIVRCompositor_IVRCompositor_024(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_024_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(48);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_024_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_024_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_024_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_024_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_024_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_024_GetFrameTimings, 2, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_024_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_024_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor, 2, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_024_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_024_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_024_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_024_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_024_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_024_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_024_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_024_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_024_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_024_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_024_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_024_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE);
init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE);
init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE);
init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode, 1, FALSE, FALSE);
init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, 0, FALSE, FALSE);
init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, 0, FALSE, FALSE);
init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, 0, FALSE, FALSE);
init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE);
init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 4, FALSE, FALSE);
init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_024_ClearStageOverride, 0, FALSE, FALSE);
for (i = 0; i < 48; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_024_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_026.h"
2018-01-18 22:29:49 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetFrameTimings, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetStageOverride_Async, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ClearStageOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetPosesForFrame, 16)
void __thiscall winIVRCompositor_IVRCompositor_026_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_026_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_026_WaitGetPoses, _this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 26);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_026_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 26);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_PostPresentHandoff(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_026_PostPresentHandoff, _this->u_iface, 26);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetFrameTimings(_this->u_iface, pTiming, nFrames);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
*_ret = cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(_this->u_iface, bBackground);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_FadeGrid(_this->u_iface, fSeconds, bFadeIn);
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
{
EVRCompositorError _ret;
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 26);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_026_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_026_IsFullscreen(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_IsFullscreen(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_026_CanRenderScene(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_CanRenderScene(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_ShowMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_HideMirrorWindow(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_HideMirrorWindow(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
}
void __thiscall winIVRCompositor_IVRCompositor_026_ForceReconnectProcess(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_026_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_SuspendRendering(_this->u_iface, bSuspend);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 26);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(_this->u_iface, eTimingMode);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SetStageOverride_Async(struct w_steam_iface *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
char lin_pchRenderModelPath[PATH_MAX];
vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath);
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async(_this->u_iface, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_026_ClearStageOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_026_ClearStageOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(struct w_steam_iface *_this, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(_this->u_iface, pBenchmarkResults, nSizeOfBenchmarkResults);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(struct w_steam_iface *_this, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(_this->u_iface, pRenderPosePredictionID, pGamePosePredictionID);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetPosesForFrame(struct w_steam_iface *_this, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_026_GetPosesForFrame(_this->u_iface, unPosePredictionID, pPoseArray, unPoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_026_vtable;
2018-01-18 22:29:49 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_026,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetFrameTimings)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetStageOverride_Async)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ClearStageOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetPosesForFrame)
2018-01-18 22:29:49 +03:00
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_026(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
2018-01-18 22:29:49 +03:00
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_026_vtable;
r->u_iface = u_iface;
2018-01-18 22:29:49 +03:00
return r;
}
void destroy_winIVRCompositor_IVRCompositor_026(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_026_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(51);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 51 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_026_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_026_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_026_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_026_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_026_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_026_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_026_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_026_GetFrameTimings, 2, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_026_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_026_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor, 2, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_026_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_026_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_026_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_026_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_026_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_026_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_026_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_026_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_026_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_026_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_026_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_026_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE);
init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE);
init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE);
init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode, 1, FALSE, FALSE);
init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData, 0, FALSE, FALSE);
init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled, 0, FALSE, FALSE);
init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported, 0, FALSE, FALSE);
init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE);
init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_026_SetStageOverride_Async, 4, FALSE, FALSE);
init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_026_ClearStageOverride, 0, FALSE, FALSE);
init_thunk(&thunks[48], r, winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults, 2, FALSE, FALSE);
init_thunk(&thunks[49], r, winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs, 2, FALSE, FALSE);
init_thunk(&thunks[50], r, winIVRCompositor_IVRCompositor_026_GetPosesForFrame, 3, FALSE, FALSE);
for (i = 0; i < 51; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_026_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}
#include "cppIVRCompositor_IVRCompositor_027.h"
2018-01-18 22:29:49 +03:00
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_WaitGetPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPoses, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_Submit, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_PostPresentHandoff, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTiming, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTimings, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCumulativeStats, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_FadeToColor, 28)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_FadeGrid, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetSkyboxOverride, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorBringToFront, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorGoToBack, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorQuit, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsFullscreen, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CanRenderScene, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ShowMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_HideMirrorWindow, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorDumpImages, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ForceReconnectProcess, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SuspendRendering, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 16)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode, 8)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetStageOverride_Async, 20)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearStageOverride, 4)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 12)
DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 16)
void __thiscall winIVRCompositor_IVRCompositor_027_SetTrackingSpace(struct w_steam_iface *_this, ETrackingUniverseOrigin eOrigin)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(_this->u_iface, eOrigin);
2018-01-18 22:29:49 +03:00
}
ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_027_GetTrackingSpace(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
ETrackingUniverseOrigin _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_WaitGetPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetLastPoses(_this->u_iface, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(_this->u_iface, unDeviceIndex, pOutputPose, pOutputGamePose);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_Submit(struct w_steam_iface *_this, EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t *pBounds, EVRSubmitFlags nSubmitFlags)
{
EVRCompositorError _ret;
TRACE("%p\n", _this);
_ret = ivrcompositor_submit(cppIVRCompositor_IVRCompositor_027_Submit, _this->u_iface, eEye, pTexture, pBounds, nSubmitFlags, 27);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_027_PostPresentHandoff, _this->u_iface, 27);
}
bool __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTiming(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t unFramesAgo)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetFrameTiming(_this->u_iface, pTiming, unFramesAgo);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimings(struct w_steam_iface *_this, Compositor_FrameTiming *pTiming, uint32_t nFrames)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetFrameTimings(_this->u_iface, pTiming, nFrames);
return _ret;
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(_this->u_iface, pStats, nStatsSizeInBytes);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_FadeToColor(_this->u_iface, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground);
2018-01-18 22:29:49 +03:00
}
HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, bool bBackground)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
*_ret = cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(_this->u_iface, bBackground);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_FadeGrid(struct w_steam_iface *_this, float fSeconds, bool bFadeGridIn)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_FadeGrid(_this->u_iface, fSeconds, bFadeGridIn);
2018-01-18 22:29:49 +03:00
}
float __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
float _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride(struct w_steam_iface *_this, const Texture_t *pTextures, uint32_t unTextureCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride, _this->u_iface, pTextures, unTextureCount, 27);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_CompositorBringToFront(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_CompositorGoToBack(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_CompositorQuit(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_CompositorQuit(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_027_IsFullscreen(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_IsFullscreen(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_027_CanRenderScene(struct w_steam_iface *_this)
{
bool _ret;
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_CanRenderScene(_this->u_iface);
return _ret;
}
void __thiscall winIVRCompositor_IVRCompositor_027_ShowMirrorWindow(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(_this->u_iface);
}
void __thiscall winIVRCompositor_IVRCompositor_027_HideMirrorWindow(struct w_steam_iface *_this)
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(_this->u_iface);
}
bool __thiscall winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_CompositorDumpImages(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, bool bOverride)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(_this->u_iface, bOverride);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_ForceReconnectProcess(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_SuspendRendering(struct w_steam_iface *_this, bool bSuspend)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_SuspendRendering(_this->u_iface, bSuspend);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(struct w_steam_iface *_this, EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(_this->u_iface, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(_this->u_iface, pD3D11ShaderResourceView);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(struct w_steam_iface *_this, EVREye eEye, glUInt_t *pglTextureId, glSharedTextureHandle_t *pglSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(_this->u_iface, eEye, pglTextureId, pglSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(struct w_steam_iface *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(_this->u_iface, glTextureId, glSharedTextureHandle);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, glSharedTextureHandle_t glSharedTextureHandle)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(_this->u_iface, glSharedTextureHandle);
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(_this->u_iface, pchValue, unBufferSize);
return _ret;
2018-01-18 22:29:49 +03:00
}
uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize)
2018-01-18 22:29:49 +03:00
{
uint32_t _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, _this->u_iface, pPhysicalDevice, pchValue, unBufferSize, 27);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(struct w_steam_iface *_this, EVRCompositorTimingMode eTimingMode)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(_this->u_iface, eTimingMode);
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(_this->u_iface);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetStageOverride_Async(struct w_steam_iface *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
char lin_pchRenderModelPath[PATH_MAX];
vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath);
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(_this->u_iface, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings);
return _ret;
2018-01-18 22:29:49 +03:00
}
void __thiscall winIVRCompositor_IVRCompositor_027_ClearStageOverride(struct w_steam_iface *_this)
2018-01-18 22:29:49 +03:00
{
TRACE("%p\n", _this);
cppIVRCompositor_IVRCompositor_027_ClearStageOverride(_this->u_iface);
2018-01-18 22:29:49 +03:00
}
bool __thiscall winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(struct w_steam_iface *_this, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults)
2018-01-18 22:29:49 +03:00
{
bool _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(_this->u_iface, pBenchmarkResults, nSizeOfBenchmarkResults);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(struct w_steam_iface *_this, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(_this->u_iface, pRenderPosePredictionID, pGamePosePredictionID);
return _ret;
2018-01-18 22:29:49 +03:00
}
EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetPosesForFrame(struct w_steam_iface *_this, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount)
2018-01-18 22:29:49 +03:00
{
EVRCompositorError _ret;
2018-01-18 22:29:49 +03:00
TRACE("%p\n", _this);
_ret = cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(_this->u_iface, unPosePredictionID, pPoseArray, unPoseArrayCount);
return _ret;
2018-01-18 22:29:49 +03:00
}
extern vtable_ptr winIVRCompositor_IVRCompositor_027_vtable;
2018-01-18 22:29:49 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__ASM_VTABLE(winIVRCompositor_IVRCompositor_027,
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetTrackingSpace)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_WaitGetPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPoses)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_Submit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_PostPresentHandoff)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTiming)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTimings)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCumulativeStats)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_FadeToColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_FadeGrid)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorBringToFront)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorGoToBack)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorQuit)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsFullscreen)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CanRenderScene)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ShowMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_HideMirrorWindow)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorDumpImages)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ForceReconnectProcess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SuspendRendering)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetStageOverride_Async)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearStageOverride)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs)
VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetPosesForFrame)
2018-01-18 22:29:49 +03:00
);
#ifndef __GNUC__
}
#endif
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_027(void *u_iface)
2018-01-18 22:29:49 +03:00
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
2018-01-18 22:29:49 +03:00
TRACE("-> %p\n", r);
r->vtable = &winIVRCompositor_IVRCompositor_027_vtable;
r->u_iface = u_iface;
2018-01-18 22:29:49 +03:00
return r;
}
void destroy_winIVRCompositor_IVRCompositor_027(struct w_steam_iface *object)
{
TRACE("%p\n", object);
HeapFree(GetProcessHeap(), 0, object);
}
struct w_steam_iface *create_winIVRCompositor_IVRCompositor_027_FnTable(void *u_iface)
{
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
struct thunk *thunks = alloc_thunks(51);
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 51 * sizeof(*vtable));
int i;
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 1, FALSE, FALSE);
init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 0, FALSE, FALSE);
init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_027_WaitGetPoses, 4, FALSE, FALSE);
init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_027_GetLastPoses, 4, FALSE, FALSE);
init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE);
init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_027_Submit, 4, FALSE, FALSE);
init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, 0, FALSE, FALSE);
init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_027_PostPresentHandoff, 0, FALSE, FALSE);
init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_027_GetFrameTiming, 2, FALSE, FALSE);
init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_027_GetFrameTimings, 2, FALSE, FALSE);
init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, 0, FALSE, FALSE);
init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_027_GetCumulativeStats, 2, FALSE, FALSE);
init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_027_FadeToColor, 6, TRUE, TRUE);
init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor, 2, FALSE, FALSE);
init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_027_FadeGrid, 2, TRUE, FALSE);
init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, 0, FALSE, FALSE);
init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_027_SetSkyboxOverride, 2, FALSE, FALSE);
init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride, 0, FALSE, FALSE);
init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_027_CompositorBringToFront, 0, FALSE, FALSE);
init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_027_CompositorGoToBack, 0, FALSE, FALSE);
init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_027_CompositorQuit, 0, FALSE, FALSE);
init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_027_IsFullscreen, 0, FALSE, FALSE);
init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, 0, FALSE, FALSE);
init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer, 0, FALSE, FALSE);
init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_027_CanRenderScene, 0, FALSE, FALSE);
init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_027_ShowMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_027_HideMirrorWindow, 0, FALSE, FALSE);
init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, 0, FALSE, FALSE);
init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_027_CompositorDumpImages, 0, FALSE, FALSE);
init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, 0, FALSE, FALSE);
init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, 1, FALSE, FALSE);
init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_027_ForceReconnectProcess, 0, FALSE, FALSE);
init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_027_SuspendRendering, 1, FALSE, FALSE);
init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, 3, FALSE, FALSE);
init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE);
init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL, 3, FALSE, FALSE);
init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, 2, FALSE, FALSE);
init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE);
init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE);
init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE);
init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode, 1, FALSE, FALSE);
init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, 0, FALSE, FALSE);
init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, 0, FALSE, FALSE);
init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, 0, FALSE, FALSE);
init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE);
init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_027_SetStageOverride_Async, 4, FALSE, FALSE);
init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_027_ClearStageOverride, 0, FALSE, FALSE);
init_thunk(&thunks[48], r, winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, 2, FALSE, FALSE);
init_thunk(&thunks[49], r, winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 2, FALSE, FALSE);
init_thunk(&thunks[50], r, winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 3, FALSE, FALSE);
for (i = 0; i < 51; i++)
vtable[i] = &thunks[i];
r->u_iface = u_iface;
r->vtable = (void *)vtable;
return r;
}
void destroy_winIVRCompositor_IVRCompositor_027_FnTable(struct w_steam_iface *object)
{
TRACE("%p\n", object);
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
HeapFree(GetProcessHeap(), 0, object->vtable);
HeapFree(GetProcessHeap(), 0, object);
}