/// <summary> /// Gets the description of the buffers in the TextureSwapChain /// </summary> /// <param name="textureSwapChainDescription">Returns the description of the specified chain.</param> /// <returns>Returns an ovrResult for which the return code is negative upon error. </returns> public OVRTypes.Result GetDescription(out OVRTypes.TextureSwapChainDesc textureSwapChainDescription) { if (Disposed) { throw new ObjectDisposedException("TextureSwapChain"); } OVRTypes.TextureSwapChainDesc textureSwapChainDesc = new OVRTypes.TextureSwapChainDesc(); OVRTypes.Result result = OVR.GetTextureSwapChainDesc(Session, TextureSwapChainPtr, ref textureSwapChainDesc); textureSwapChainDescription = textureSwapChainDesc; return(result); }