Navigation
API > API/Plugins > API/Plugins/OpenXRHMD > API/Plugins/OpenXRHMD/IOpenXRExtensionPlugin
Description
Called during AllocateRenderTargetTextures (render thread) to allow the plugin to override the color swapchain pixel format. Return PF_Unknown (0) to indicate no preference and use the engine's default format selection.
| Name | GetPreferredSwapchainFormat |
| Type | function |
| Header File | /Engine/Plugins/Runtime/OpenXR/Source/OpenXRHMD/Public/IOpenXRExtensionPlugin.h |
| Include Path | #include "IOpenXRExtensionPlugin.h" |
virtual const uint8 GetPreferredSwapchainFormat
(
uint8 RequestedFormat
)