Top Description Constructors Methods
org.lwjgl.openvr

public Class VRResources

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Shared Resource Methods.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nVRResources_GetResourceFullPath(long pchResourceName, long pchResourceTypeDirectory, long pchPathBuffer, int unBufferLen)

Unsafe version of: GetResourceFullPath

public static int
nVRResources_LoadSharedResource(long pchResourceName, long pchBuffer, int unBufferLen)

Unsafe version of: LoadSharedResource

public static int
VRResources_GetResourceFullPath(ByteBuffer pchResourceName, ByteBuffer pchResourceTypeDirectory, ByteBuffer pchPathBuffer)

Provides the full path to the specified resource.

public static int
VRResources_GetResourceFullPath(CharSequence pchResourceName, CharSequence pchResourceTypeDirectory, ByteBuffer pchPathBuffer)

Provides the full path to the specified resource.

public static String
VRResources_GetResourceFullPath(CharSequence pchResourceName, CharSequence pchResourceTypeDirectory, int unBufferLen)

Provides the full path to the specified resource.

public static int

Returns:

the size in bytes of the buffer required to hold the specified resource
VRResources_LoadSharedResource
(ByteBuffer pchResourceName, ByteBuffer pchBuffer)

Loads the specified resource into the provided buffer if large enough.

public static int

Returns:

the size in bytes of the buffer required to hold the specified resource
VRResources_LoadSharedResource
(CharSequence pchResourceName, ByteBuffer pchBuffer)

Loads the specified resource into the provided buffer if large enough.

public static String

Returns:

the size in bytes of the buffer required to hold the specified resource
VRResources_LoadSharedResource
(CharSequence pchResourceName, int unBufferLen)

Loads the specified resource into the provided buffer if large enough.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

VRResourcesback to summary
protected VRResources()

Method Detail

nVRResources_GetResourceFullPathback to summary
public static int nVRResources_GetResourceFullPath(long pchResourceName, long pchResourceTypeDirectory, long pchPathBuffer, int unBufferLen)

Unsafe version of: GetResourceFullPath

nVRResources_LoadSharedResourceback to summary
public static int nVRResources_LoadSharedResource(long pchResourceName, long pchBuffer, int unBufferLen)

Unsafe version of: LoadSharedResource

VRResources_GetResourceFullPathback to summary
public static int VRResources_GetResourceFullPath(ByteBuffer pchResourceName, ByteBuffer pchResourceTypeDirectory, 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. pchResourceTypeDirectory is the subdirectory of resources to look in.

Annotations
@NativeType:uint32_t
VRResources_GetResourceFullPathback to summary
public static int VRResources_GetResourceFullPath(CharSequence pchResourceName, CharSequence pchResourceTypeDirectory, 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. pchResourceTypeDirectory is the subdirectory of resources to look in.

Annotations
@NativeType:uint32_t
VRResources_GetResourceFullPathback to summary
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. pchResourceTypeDirectory is the subdirectory of resources to look in.

Annotations
@NativeType:uint32_t
VRResources_LoadSharedResourceback to summary
public static int VRResources_LoadSharedResource(ByteBuffer pchResourceName, ByteBuffer pchBuffer)

Loads the specified resource into the provided buffer if large enough.

Returns:int

the size in bytes of the buffer required to hold the specified resource

Annotations
@NativeType:uint32_t
VRResources_LoadSharedResourceback to summary
public static int VRResources_LoadSharedResource(CharSequence pchResourceName, ByteBuffer pchBuffer)

Loads the specified resource into the provided buffer if large enough.

Returns:int

the size in bytes of the buffer required to hold the specified resource

Annotations
@NativeType:uint32_t
VRResources_LoadSharedResourceback to summary
public static String VRResources_LoadSharedResource(CharSequence pchResourceName, int unBufferLen)

Loads the specified resource into the provided buffer if large enough.

Returns:String

the size in bytes of the buffer required to hold the specified resource

Annotations
@NativeType:uint32_t