Package org.lwjgl.openvr
Class VRResources
java.lang.Object
org.lwjgl.openvr.VRResources
Shared Resource Methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intnVRResources_GetResourceFullPath(long pchResourceName, long pchResourceTypeDirectory, long pchPathBuffer, int unBufferLen) Unsafe version of:GetResourceFullPathstatic intnVRResources_LoadSharedResource(long pchResourceName, long pchBuffer, int unBufferLen) Unsafe version of:LoadSharedResourcestatic StringVRResources_GetResourceFullPath(CharSequence pchResourceName, CharSequence pchResourceTypeDirectory, int unBufferLen) Provides the full path to the specified resource.static intVRResources_GetResourceFullPath(CharSequence pchResourceName, CharSequence pchResourceTypeDirectory, @Nullable ByteBuffer pchPathBuffer) Provides the full path to the specified resource.static intVRResources_GetResourceFullPath(ByteBuffer pchResourceName, ByteBuffer pchResourceTypeDirectory, @Nullable ByteBuffer pchPathBuffer) Provides the full path to the specified resource.static StringVRResources_LoadSharedResource(CharSequence pchResourceName, int unBufferLen) Loads the specified resource into the provided buffer if large enough.static intVRResources_LoadSharedResource(CharSequence pchResourceName, @Nullable ByteBuffer pchBuffer) Loads the specified resource into the provided buffer if large enough.static intVRResources_LoadSharedResource(ByteBuffer pchResourceName, @Nullable ByteBuffer pchBuffer) Loads the specified resource into the provided buffer if large enough.
-
Method Details
-
nVRResources_GetResourceFullPath
public static int nVRResources_GetResourceFullPath(long pchResourceName, long pchResourceTypeDirectory, long pchPathBuffer, int unBufferLen) Unsafe version of:GetResourceFullPath -
VRResources_GetResourceFullPath
public static int VRResources_GetResourceFullPath(ByteBuffer pchResourceName, ByteBuffer pchResourceTypeDirectory, @Nullable ByteBuffer pchPathBuffer) 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.pchResourceTypeDirectoryis the subdirectory of resources to look in. -
VRResources_GetResourceFullPath
public static int VRResources_GetResourceFullPath(CharSequence pchResourceName, CharSequence pchResourceTypeDirectory, @Nullable ByteBuffer pchPathBuffer) 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.pchResourceTypeDirectoryis the subdirectory of resources to look in. -
VRResources_GetResourceFullPath
public static String VRResources_GetResourceFullPath(CharSequence pchResourceName, CharSequence pchResourceTypeDirectory, int unBufferLen) 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.pchResourceTypeDirectoryis the subdirectory of resources to look in.