2023-09-29 12:28:17 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2018-01-18 22:29:49 +03:00
|
|
|
#include "cppIVRRenderModels_IVRRenderModels_001.h"
|
2023-09-27 12:05:52 +03:00
|
|
|
void cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel( struct cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel_params *params )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
2023-09-30 11:48:58 +03:00
|
|
|
u_RenderModel_t_090 u_pRenderModel;
|
|
|
|
if (params->pRenderModel) u_pRenderModel = *params->pRenderModel;
|
|
|
|
params->_ret = (bool)iface->LoadRenderModel( params->pchRenderModelName, params->pRenderModel ? &u_pRenderModel : nullptr );
|
|
|
|
if (params->pRenderModel) *params->pRenderModel = u_pRenderModel;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 12:05:52 +03:00
|
|
|
void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel( struct cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *params )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
2023-09-30 11:48:58 +03:00
|
|
|
u_RenderModel_t_090 u_pRenderModel;
|
|
|
|
if (params->pRenderModel) u_pRenderModel = *params->pRenderModel;
|
|
|
|
iface->FreeRenderModel( params->pRenderModel ? &u_pRenderModel : nullptr );
|
|
|
|
if (params->pRenderModel) *params->pRenderModel = u_pRenderModel;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 12:05:52 +03:00
|
|
|
void cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName( struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName_params *params )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen );
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-27 12:05:52 +03:00
|
|
|
void cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount( struct cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *params )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side;
|
|
|
|
params->_ret = (uint32_t)iface->GetRenderModelCount( );
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|