Esempio n. 1
0
 /// <summary>
 /// Get a the underlying buffer as any compatible COM interface (similar to QueryInterface)
 /// </summary>
 /// <param name="iid">Specifies the interface ID of the interface pointer to query the buffer for.</param>
 /// <param name="buffer">Returns the COM interface pointer retrieved.</param>
 /// <returns>
 /// Returns a Result indicating success or failure. In the case of failure, use
 /// Wrap.GetLastError to get more information.
 /// </returns>
 public OVRTypes.Result GetBufferDX(Guid iid, out IntPtr buffer)
 {
     buffer = IntPtr.Zero;
     return(OVR.GetMirrorTextureBufferDX(Session, MirrorTexturePtr, iid, ref buffer));
 }