Proton/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp

90 lines
5.2 KiB
C++
Raw Normal View History

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#if 0
#pragma makedep unix
#endif
NTSTATUS IVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async( void *args )
2018-01-18 22:29:49 +03:00
{
struct IVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async_params *params = (struct IVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async_params *)args;
struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side;
params->_ret = iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D );
return 0;
2018-01-18 22:29:49 +03:00
}
NTSTATUS IVRRenderModels_IVRRenderModels_004_FreeTextureD3D11( void *args )
2018-01-18 22:29:49 +03:00
{
struct IVRRenderModels_IVRRenderModels_004_FreeTextureD3D11_params *params = (struct IVRRenderModels_IVRRenderModels_004_FreeTextureD3D11_params *)args;
struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side;
iface->FreeTextureD3D11( params->pD3D11Texture2D );
return 0;
2018-01-18 22:29:49 +03:00
}
NTSTATUS IVRRenderModels_IVRRenderModels_004_GetRenderModelName( void *args )
2018-01-18 22:29:49 +03:00
{
struct IVRRenderModels_IVRRenderModels_004_GetRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetRenderModelName_params *)args;
struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side;
params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen );
return 0;
2018-01-18 22:29:49 +03:00
}
NTSTATUS IVRRenderModels_IVRRenderModels_004_GetRenderModelCount( void *args )
2018-01-18 22:29:49 +03:00
{
struct IVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params *)args;
struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side;
params->_ret = iface->GetRenderModelCount( );
return 0;
2018-01-18 22:29:49 +03:00
}
NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentCount( void *args )
2018-01-18 22:29:49 +03:00
{
struct IVRRenderModels_IVRRenderModels_004_GetComponentCount_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetComponentCount_params *)args;
struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side;
params->_ret = iface->GetComponentCount( params->pchRenderModelName );
return 0;
2018-01-18 22:29:49 +03:00
}
NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentName( void *args )
2018-01-18 22:29:49 +03:00
{
struct IVRRenderModels_IVRRenderModels_004_GetComponentName_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetComponentName_params *)args;
struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side;
params->_ret = iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen );
return 0;
2018-01-18 22:29:49 +03:00
}
NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask( void *args )
2018-01-18 22:29:49 +03:00
{
struct IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params *)args;
struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side;
params->_ret = iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName );
return 0;
2018-01-18 22:29:49 +03:00
}
NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName( void *args )
2018-01-18 22:29:49 +03:00
{
struct IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params *)args;
struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side;
params->_ret = iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen );
return 0;
2018-01-18 22:29:49 +03:00
}
NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentState( void *args )
2018-01-18 22:29:49 +03:00
{
struct IVRRenderModels_IVRRenderModels_004_GetComponentState_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetComponentState_params *)args;
struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side;
u_VRControllerState001_t u_pControllerState;
if (params->pControllerState) u_pControllerState = *params->pControllerState;
params->_ret = iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &u_pControllerState : nullptr, params->pState, params->pComponentState );
return 0;
2018-01-18 22:29:49 +03:00
}
NTSTATUS IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent( void *args )
2018-01-18 22:29:49 +03:00
{
struct IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params *params = (struct IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params *)args;
struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side;
params->_ret = iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName );
return 0;
2018-01-18 22:29:49 +03:00
}