Top Constructors Methods
org.lwjgl.openvr

public Class VRDebug

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

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nVRDebug_BeginVrProfilerEvent(long pHandleOut)

Unsafe version of: BeginVrProfilerEvent

public static int
nVRDebug_DriverDebugRequest(int unDeviceIndex, long pchRequest, long pchResponseBuffer, int unResponseBufferSize)

Unsafe version of: DriverDebugRequest

public static int
nVRDebug_EmitVrProfilerEvent(long pchMessage)

Unsafe version of: EmitVrProfilerEvent

public static int
nVRDebug_FinishVrProfilerEvent(long hHandle, long pchMessage)

Unsafe version of: FinishVrProfilerEvent

public static int
VRDebug_BeginVrProfilerEvent(LongBuffer pHandleOut)

Creates an vr profiler duration event (line).

public static int
VRDebug_DriverDebugRequest(int unDeviceIndex, ByteBuffer pchRequest, ByteBuffer pchResponseBuffer)

Sends a request to the driver for the specified device and returns the response.

public static int
VRDebug_EmitVrProfilerEvent(ByteBuffer pchMessage)

Creates a vr profiler discrete event (point).

public static int
VRDebug_FinishVrProfilerEvent(long hHandle, ByteBuffer pchMessage)

Terminates a vr profiler event.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

VRDebugback to summary
protected VRDebug()

Method Detail

nVRDebug_BeginVrProfilerEventback to summary
public static int nVRDebug_BeginVrProfilerEvent(long pHandleOut)

Unsafe version of: BeginVrProfilerEvent

nVRDebug_DriverDebugRequestback to summary
public static int nVRDebug_DriverDebugRequest(int unDeviceIndex, long pchRequest, long pchResponseBuffer, int unResponseBufferSize)

Unsafe version of: DriverDebugRequest

nVRDebug_EmitVrProfilerEventback to summary
public static int nVRDebug_EmitVrProfilerEvent(long pchMessage)

Unsafe version of: EmitVrProfilerEvent

nVRDebug_FinishVrProfilerEventback to summary
public static int nVRDebug_FinishVrProfilerEvent(long hHandle, long pchMessage)

Unsafe version of: FinishVrProfilerEvent

VRDebug_BeginVrProfilerEventback to summary
public static int VRDebug_BeginVrProfilerEvent(LongBuffer pHandleOut)

Creates an vr profiler duration event (line).

The current time will be used as the timestamp for the start of the line. On success, pHandleOut will contain a handle valid for terminating this event.

Annotations
@NativeType:EVRDebugError
VRDebug_DriverDebugRequestback to summary
public static int VRDebug_DriverDebugRequest(int unDeviceIndex, ByteBuffer pchRequest, ByteBuffer pchResponseBuffer)

Sends a request to the driver for the specified device and returns the response.

The maximum response size is 32k, but this method can be called with a smaller buffer. If the response exceeds the size of the buffer, it is truncated. The size of the response including its terminating null is returned.

Annotations
@NativeType:uint32_t
VRDebug_EmitVrProfilerEventback to summary
public static int VRDebug_EmitVrProfilerEvent(ByteBuffer pchMessage)

Creates a vr profiler discrete event (point).

The event will be associated with the message provided in pchMessage, and the current time will be used as the event timestamp.

Annotations
@NativeType:EVRDebugError
VRDebug_FinishVrProfilerEventback to summary
public static int VRDebug_FinishVrProfilerEvent(long hHandle, ByteBuffer pchMessage)

Terminates a vr profiler event.

The event associated with hHandle will be considered completed when this method is called. The current time will be used associated to the termination time of the event, and pchMessage will be used as the event title.

Annotations
@NativeType:EVRDebugError