Scroll to navigation

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

a GPU context.
a swapchain previously returned by SDL_CreateGPUXRSwapchain.

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