Function ovr_sys::ovr_GetTextureSwapChainDesc
source · pub unsafe extern "C" fn ovr_GetTextureSwapChainDesc(
session: ovrSession,
chain: ovrTextureSwapChain,
out_Desc: *mut ovrTextureSwapChainDesc
) -> ovrResult
Expand description
Gets the description of the buffers in an ovrTextureSwapChain
in session
Specifies an ovrSession
previously returned by ovr_Create
.
in chain
Specifies the ovrTextureSwapChain
for which the description should be retrieved.
out out_Desc
Returns the description of the specified chain.
Returns an ovrResult
for which OVR_SUCCESS(result)
is false upon error.
see ovr_CreateTextureSwapChainDX
, ovr_CreateTextureSwapChainGL
, ovr_CreateTextureSwapChainVk