Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vr::Texture_t leftEyeTexture = { m_RenderTextureLeft->GetTexture(), vr::API_DirectX, vr::ColorSpace_Auto};
- vr::EVRCompositorError error1 = vr::VRCompositor()->Submit(vr::Eye_Left, &leftEyeTexture);
- vr::Texture_t rightEyeTexture = { m_RenderTextureRight->GetTexture(), vr::API_DirectX, vr::ColorSpace_Auto};
- vr::VRCompositor()->Submit(vr::Eye_Right, &rightEyeTexture);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement