Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. vr::Texture_t leftEyeTexture = { m_RenderTextureLeft->GetTexture(), vr::API_DirectX, vr::ColorSpace_Auto};
  2.     vr::EVRCompositorError error1 =  vr::VRCompositor()->Submit(vr::Eye_Left, &leftEyeTexture);
  3.     vr::Texture_t rightEyeTexture = { m_RenderTextureRight->GetTexture(), vr::API_DirectX, vr::ColorSpace_Auto};
  4.     vr::VRCompositor()->Submit(vr::Eye_Right, &rightEyeTexture);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement