SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_DestroyGPUXRSwapchain

Destroys and OpenXR swapchain previously returned by SDL_CreateGPUXRSwapchain.

Header File

Defined in <SDL3/SDL_openxr.h>

Syntax

XrResult SDL_DestroyGPUXRSwapchain(SDL_GPUDevice *device, XrSwapchain swapchain, SDL_GPUTexture **swapchainImages);

Function Parameters

SDL_GPUDevice * device a GPU context.
XrSwapchain swapchain a swapchain previously returned by SDL_CreateGPUXRSwapchain.
SDL_GPUTexture ** swapchainImages an array of swapchain images returned by the same call to SDL_CreateGPUXRSwapchain.

Return Value

(XrResult) Returns the result of the call.

Version

This function is available since SDL 3.6.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryOpenxr


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.