Function ovr_sys::ovr_DestroyTextureSwapChain
source · pub unsafe extern "C" fn ovr_DestroyTextureSwapChain(
session: ovrSession,
chain: ovrTextureSwapChain
)
Expand description
Destroys an ovrTextureSwapChain
and frees all the resources associated with it.
session
Specifies an ovrSession
previously returned by ovr_Create
.
chain
Specifies the ovrTextureSwapChain
to destroy. If it is NULL then this function has no effect.
see ovr_CreateTextureSwapChainDX
, ovr_CreateTextureSwapChainGL
, ovr_CreateTextureSwapChainVk