MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / GetVideoStreamTextureSize

Method GetVideoStreamTextureSize

headers/openvr_api.cs:2668–2674  ·  view source on GitHub ↗
(uint nDeviceIndex,EVRTrackedCameraFrameType eFrameType,ref VRTextureBounds_t pTextureBounds,ref uint pnWidth,ref uint pnHeight)

Source from the content-addressed store, hash-verified

2666 return result;
2667 }
2668 public EVRTrackedCameraError GetVideoStreamTextureSize(uint nDeviceIndex,EVRTrackedCameraFrameType eFrameType,ref VRTextureBounds_t pTextureBounds,ref uint pnWidth,ref uint pnHeight)
2669 {
2670 pnWidth = 0;
2671 pnHeight = 0;
2672 EVRTrackedCameraError result = FnTable.GetVideoStreamTextureSize(nDeviceIndex,eFrameType,ref pTextureBounds,ref pnWidth,ref pnHeight);
2673 return result;
2674 }
2675 public EVRTrackedCameraError GetVideoStreamTextureD3D11(ulong hTrackedCamera,EVRTrackedCameraFrameType eFrameType,IntPtr pD3D11DeviceOrResource,ref IntPtr ppD3D11ShaderResourceView,ref CameraVideoStreamFrameHeader_t pFrameHeader,uint nFrameHeaderSize)
2676 {
2677 EVRTrackedCameraError result = FnTable.GetVideoStreamTextureD3D11(hTrackedCamera,eFrameType,pD3D11DeviceOrResource,ref ppD3D11ShaderResourceView,ref pFrameHeader,nFrameHeaderSize);

Callers 1

OpenCVAppStartMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected