Function ovr_sys::opengl::ovr_GetMirrorTextureBufferGL
source · pub unsafe extern "C" fn ovr_GetMirrorTextureBufferGL(
session: ovrSession,
mirrorTexture: ovrMirrorTexture,
out_TexId: *mut c_uint
) -> ovrResult
Expand description
Get a the underlying buffer as a GL texture name
in session
Specifies an ovrSession
previously returned by ovr_Create
.
in mirrorTexture
Specifies an ovrMirrorTexture
previously returned by ovr_CreateMirrorTextureGL
out out_TexId
Specifies the GL texture object name associated with the mirror texture
Returns an ovrResult
indicating success or failure. In the case of failure, use
ovr_GetLastErrorInfo
to get more information.