table of contents
other versions
- experimental 3.5~git20260404~173adc1+ds-1
| SDL_DestroyGPUXRSwapchain(3) | SDL3 FUNCTIONS | SDL_DestroyGPUXRSwapchain(3) |
NAME¶
SDL_DestroyGPUXRSwapchain - Destroys and OpenXR swapchain previously returned by SDL_CreateGPUXRSwapchain.
SYNOPSIS¶
#include <SDL3/SDL_openxr.h>
XrResult SDL_DestroyGPUXRSwapchain(SDL_GPUDevice *device, XrSwapchain swapchain, SDL_GPUTexture **swapchainImages);
FUNCTION PARAMETERS¶
- device
- a GPU context.
- swapchain
- a swapchain previously returned by SDL_CreateGPUXRSwapchain.
- swapchainImages
- an array of swapchain images returned by the same call to SDL_CreateGPUXRSwapchain.
RETURN VALUE¶
Returns the result of the call.
AVAILABILITY¶
This function is available since SDL 3.6.0.
SEE ALSO¶
SDL_CreateGPUDeviceWithProperties(3), SDL_CreateGPUXRSession(3), SDL_CreateGPUXRSwapchain(3)
| SDL 3.5.0 | Simple Directmedia Layer |