| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nVRTrackedCamera_AcquireVideoStreamingService(int nDeviceIndex, long pHandle)
Unsafe version of: |
| public static long | nVRTrackedCamera_GetCameraErrorNameFromEnum(int eCameraError)
Unsafe version of: |
| public static int | nVRTrackedCamera_GetCameraFrameSize(int nDeviceIndex, int eFrameType, long pnWidth, long pnHeight, long pnFrameBufferSize)
Unsafe version of: |
| public static int | nVRTrackedCamera_GetCameraIntrinsics(int nDeviceIndex, int nCameraIndex, int eFrameType, long pFocalLength, long pCenter)
Unsafe version of: |
| public static int | nVRTrackedCamera_GetCameraProjection(int nDeviceIndex, int nCameraIndex, int eFrameType, float flZNear, float flZFar, long pProjection)
Unsafe version of: |
| public static int | nVRTrackedCamera_GetVideoStreamFrameBuffer(long hTrackedCamera, int eFrameType, long pFrameBuffer, int nFrameBufferSize, long pFrameHeader, int nFrameHeaderSize)
Unsafe version of: |
| public static int | nVRTrackedCamera_GetVideoStreamTextureD3D11(long hTrackedCamera, int eFrameType, long pD3D11DeviceOrResource, long ppD3D11ShaderResourceView, long pFrameHeader, int nFrameHeaderSize)
Unsafe version of: |
| public static int | nVRTrackedCamera_GetVideoStreamTextureGL(long hTrackedCamera, int eFrameType, long pglTextureId, long pFrameHeader, int nFrameHeaderSize)
Unsafe version of: |
| public static int | nVRTrackedCamera_GetVideoStreamTextureSize(int nDeviceIndex, int eFrameType, long pTextureBounds, long pnWidth, long pnHeight)
Unsafe version of: |
| public static int | |
| public static int | VRTrackedCamera_AcquireVideoStreamingService(int nDeviceIndex, LongBuffer pHandle)
Acquiring streaming service permits video streaming for the caller. |
| public static String | VRTrackedCamera_GetCameraErrorNameFromEnum(int
one of: eCameraError)Returns a string for an error. |
| public static int | VRTrackedCamera_GetCameraFrameSize(int nDeviceIndex, int eFrameType, IntBuffer pnWidth, IntBuffer pnHeight, IntBuffer pnFrameBufferSize)
Gets size of the image frame. |
| public static int | VRTrackedCamera_GetCameraIntrinsics(int nDeviceIndex, int nCameraIndex, int eFrameType, HmdVector2.
|
| public static int | VRTrackedCamera_GetCameraProjection(int nDeviceIndex, int nCameraIndex, int eFrameType, float flZNear, float flZFar, HmdMatrix44 pProjection)
|
| public static int | |
| public static int | VRTrackedCamera_GetVideoStreamFrameBuffer(long hTrackedCamera, int eFrameType, ByteBuffer pFrameBuffer, CameraVideoStreamFrameHeader pFrameHeader)
Copies the image frame into a caller's provided buffer. |
| public static int | VRTrackedCamera_GetVideoStreamTextureD3D11(long hTrackedCamera, int eFrameType, long pD3D11DeviceOrResource, PointerBuffer ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader pFrameHeader, int nFrameHeaderSize)
Access a shared D3D11 texture for the specified tracked camera stream. |
| public static int | VRTrackedCamera_GetVideoStreamTextureD3D11(long hTrackedCamera, int eFrameType, long pD3D11DeviceOrResource, PointerBuffer ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader pFrameHeader)
Access a shared D3D11 texture for the specified tracked camera stream. |
| public static int | VRTrackedCamera_GetVideoStreamTextureGL(long hTrackedCamera, int eFrameType, IntBuffer pglTextureId, CameraVideoStreamFrameHeader pFrameHeader, int nFrameHeaderSize)
Access a shared GL texture for the specified tracked camera stream. |
| public static int | VRTrackedCamera_GetVideoStreamTextureGL(long hTrackedCamera, int eFrameType, IntBuffer pglTextureId, CameraVideoStreamFrameHeader pFrameHeader)
Access a shared GL texture for the specified tracked camera stream. |
| public static int | VRTrackedCamera_GetVideoStreamTextureSize(int nDeviceIndex, int eFrameType, VRTextureBounds pTextureBounds, IntBuffer pnWidth, IntBuffer pnHeight)
Gets size of the image frame. |
| public static int | VRTrackedCamera_HasCamera(int nDeviceIndex, ByteBuffer pHasCamera)
For convenience, same as tracked property request |
| public static int | |
| public static int | |
| public static void |
| VRTrackedCamera | back to summary |
|---|---|
| protected VRTrackedCamera() | |
| nVRTrackedCamera_AcquireVideoStreamingService | back to summary |
|---|---|
| public static int nVRTrackedCamera_AcquireVideoStreamingService(int nDeviceIndex, long pHandle) Unsafe version of: | |
| nVRTrackedCamera_GetCameraErrorNameFromEnum | back to summary |
|---|---|
| public static long nVRTrackedCamera_GetCameraErrorNameFromEnum(int eCameraError) Unsafe version of: | |
| nVRTrackedCamera_GetCameraFrameSize | back to summary |
|---|---|
| public static int nVRTrackedCamera_GetCameraFrameSize(int nDeviceIndex, int eFrameType, long pnWidth, long pnHeight, long pnFrameBufferSize) Unsafe version of: | |
| nVRTrackedCamera_GetCameraIntrinsics | back to summary |
|---|---|
| public static int nVRTrackedCamera_GetCameraIntrinsics(int nDeviceIndex, int nCameraIndex, int eFrameType, long pFocalLength, long pCenter) Unsafe version of: | |
| nVRTrackedCamera_GetCameraProjection | back to summary |
|---|---|
| public static int nVRTrackedCamera_GetCameraProjection(int nDeviceIndex, int nCameraIndex, int eFrameType, float flZNear, float flZFar, long pProjection) Unsafe version of: | |
| nVRTrackedCamera_GetVideoStreamFrameBuffer | back to summary |
|---|---|
| public static int nVRTrackedCamera_GetVideoStreamFrameBuffer(long hTrackedCamera, int eFrameType, long pFrameBuffer, int nFrameBufferSize, long pFrameHeader, int nFrameHeaderSize) Unsafe version of: | |
| nVRTrackedCamera_GetVideoStreamTextureD3D11 | back to summary |
|---|---|
| public static int nVRTrackedCamera_GetVideoStreamTextureD3D11(long hTrackedCamera, int eFrameType, long pD3D11DeviceOrResource, long ppD3D11ShaderResourceView, long pFrameHeader, int nFrameHeaderSize) Unsafe version of: | |
| nVRTrackedCamera_GetVideoStreamTextureGL | back to summary |
|---|---|
| public static int nVRTrackedCamera_GetVideoStreamTextureGL(long hTrackedCamera, int eFrameType, long pglTextureId, long pFrameHeader, int nFrameHeaderSize) Unsafe version of: | |
| nVRTrackedCamera_GetVideoStreamTextureSize | back to summary |
|---|---|
| public static int nVRTrackedCamera_GetVideoStreamTextureSize(int nDeviceIndex, int eFrameType, long pTextureBounds, long pnWidth, long pnHeight) Unsafe version of: | |
| nVRTrackedCamera_HasCamera | back to summary |
|---|---|
| public static int nVRTrackedCamera_HasCamera(int nDeviceIndex, long pHasCamera) Unsafe version of: | |
| VRTrackedCamera_AcquireVideoStreamingService | back to summary |
|---|---|
| public static int VRTrackedCamera_AcquireVideoStreamingService(int nDeviceIndex, LongBuffer pHandle) Acquiring streaming service permits video streaming for the caller. Releasing hints the system that video services do not need to be maintained for this client. If the camera has not already been activated, a one time spin up may incur some auto exposure as well as initial streaming frame delays. The camera should be considered a global resource accessible for shared consumption but not exclusive to any caller. The camera may go inactive due to lack of active consumers or headset idleness.
| |
| VRTrackedCamera_GetCameraFrameSize | back to summary |
|---|---|
| public static int VRTrackedCamera_GetCameraFrameSize(int nDeviceIndex, int eFrameType, IntBuffer pnWidth, IntBuffer pnHeight, IntBuffer pnFrameBufferSize) Gets size of the image frame.
| |
| VRTrackedCamera_GetCameraIntrinsics | back to summary |
|---|---|
public static int VRTrackedCamera_GetCameraIntrinsics(int nDeviceIndex, int nCameraIndex, int eFrameType, HmdVector2.
| |
| VRTrackedCamera_GetCameraProjection | back to summary |
|---|---|
public static int VRTrackedCamera_GetCameraProjection(int nDeviceIndex, int nCameraIndex, int eFrameType, float flZNear, float flZFar, HmdMatrix44 pProjection)
| |
| VRTrackedCamera_GetCameraTrackingSpace | back to summary |
|---|---|
public static int VRTrackedCamera_GetCameraTrackingSpace()
| |
| VRTrackedCamera_GetVideoStreamFrameBuffer | back to summary |
|---|---|
| public static int VRTrackedCamera_GetVideoStreamFrameBuffer(long hTrackedCamera, int eFrameType, ByteBuffer pFrameBuffer, CameraVideoStreamFrameHeader pFrameHeader) Copies the image frame into a caller's provided buffer. The image data is currently provided as RGBA data, 4 bytes per pixel. A caller can provide null
for the framebuffer or frameheader if not desired. Requesting the frame header first, followed by the frame buffer allows the caller to determine if
the frame as advanced per the frame header sequence. If there is no frame available yet, due to initial camera spinup or re-activation, the error will
be
| |
| VRTrackedCamera_GetVideoStreamTextureD3D11 | back to summary |
|---|---|
| public static int VRTrackedCamera_GetVideoStreamTextureD3D11(long hTrackedCamera, int eFrameType, long pD3D11DeviceOrResource, PointerBuffer ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader pFrameHeader, int nFrameHeaderSize) Access a shared D3D11 texture for the specified tracked camera stream. The camera frame type
| |
| VRTrackedCamera_GetVideoStreamTextureD3D11 | back to summary |
|---|---|
| public static int VRTrackedCamera_GetVideoStreamTextureD3D11(long hTrackedCamera, int eFrameType, long pD3D11DeviceOrResource, PointerBuffer ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader pFrameHeader) Access a shared D3D11 texture for the specified tracked camera stream. The camera frame type
| |
| VRTrackedCamera_GetVideoStreamTextureGL | back to summary |
|---|---|
| public static int VRTrackedCamera_GetVideoStreamTextureGL(long hTrackedCamera, int eFrameType, IntBuffer pglTextureId, CameraVideoStreamFrameHeader pFrameHeader, int nFrameHeaderSize) Access a shared GL texture for the specified tracked camera stream.
| |
| VRTrackedCamera_GetVideoStreamTextureGL | back to summary |
|---|---|
| public static int VRTrackedCamera_GetVideoStreamTextureGL(long hTrackedCamera, int eFrameType, IntBuffer pglTextureId, CameraVideoStreamFrameHeader pFrameHeader) Access a shared GL texture for the specified tracked camera stream.
| |
| VRTrackedCamera_GetVideoStreamTextureSize | back to summary |
|---|---|
| public static int VRTrackedCamera_GetVideoStreamTextureSize(int nDeviceIndex, int eFrameType, VRTextureBounds pTextureBounds, IntBuffer pnWidth, IntBuffer pnHeight) Gets size of the image frame.
| |
| VRTrackedCamera_HasCamera | back to summary |
|---|---|
| public static int VRTrackedCamera_HasCamera(int nDeviceIndex, ByteBuffer pHasCamera) For convenience, same as tracked property request
| |
| VRTrackedCamera_ReleaseVideoStreamingService | back to summary |
|---|---|
public static int VRTrackedCamera_ReleaseVideoStreamingService(long hTrackedCamera)
| |
| VRTrackedCamera_ReleaseVideoStreamTextureGL | back to summary |
|---|---|
public static int VRTrackedCamera_ReleaseVideoStreamTextureGL(long hTrackedCamera, int glTextureId)
| |
| VRTrackedCamera_SetCameraTrackingSpace | back to summary |
|---|---|
| public static void VRTrackedCamera_SetCameraTrackingSpace(int eUniverse) | |