コード例 #1
0
 /// <summary>
 /// Get a the underlying buffer as a GL texture name
 /// </summary>
 /// <param name="textureId">Specifies the GL texture object name associated with the mirror texture</param>
 /// <returns>
 /// Returns an OVRTypes.Result indicating success or failure. In the case of failure, use
 /// Wrap.GetLastError to get more information.
 /// </returns>
 public OVRTypes.Result GetBufferGL(out uint textureId)
 {
     return(OVR.GetMirrorTextureBufferGL(Session, MirrorTexturePtr, out textureId));
 }