Function ovr_sys::ovr_DestroyMirrorTexture
source · pub unsafe extern "C" fn ovr_DestroyMirrorTexture(
session: ovrSession,
mirrorTexture: ovrMirrorTexture
)
Expand description
MirrorTexture creation is rendering API-specific.
ovr_CreateMirrorTextureDX
and ovr_CreateMirrorTextureGL
can be found in the
rendering API-specific headers, such as OVR_CAPI_D3D.h and OVR_CAPI_GL.h
Destroys a mirror texture previously created by one of the mirror texture creation functions.
session
Specifies an ovrSession
previously returned by ovr_Create
.
mirrorTexture
Specifies the ovrTexture
to destroy. If it is NULL then this function has no effect.
see ovr_CreateMirrorTextureDX
, ovr_CreateMirrorTextureGL
, ovr_CreateMirrorTextureVk