GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
vr::IVRResources Class Reference

#include <openvr_mingw.h>

Public Member Functions

uint32_t LoadSharedResource (const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen)
uint32_t GetResourceFullPath (const char *pchResourceName, const char *pchResourceTypeDirectory, VR_OUT_STRING() char *pchPathBuffer, uint32_t unBufferLen)

Member Function Documentation

◆ GetResourceFullPath()

uint32_t vr::IVRResources::GetResourceFullPath ( const char * pchResourceName,
const char * pchResourceTypeDirectory,
VR_OUT_STRING() char * pchPathBuffer,
uint32_t unBufferLen )
inline

Provides the full path to the specified resource. Resource names can include named directories for drivers and other things, and this resolves all of those and returns the actual physical path. pchResourceTypeDirectory is the subdirectory of resources to look in.

◆ LoadSharedResource()

uint32_t vr::IVRResources::LoadSharedResource ( const char * pchResourceName,
char * pchBuffer,
uint32_t unBufferLen )
inline

Loads the specified resource into the provided buffer if large enough. Returns the size in bytes of the buffer required to hold the specified resource.


The documentation for this class was generated from the following file: