16 #ifndef vtkOpenXRManagerGraphics_h
17 #define vtkOpenXRManagerGraphics_h
20 #include "vtkRenderingOpenXRModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
28 class vtkOpenXRManager;
32 VTK_ABI_NAMESPACE_BEGIN
43 virtual void SetNumberOfSwapchains(uint32_t viewCount) = 0;
50 virtual void GetColorSwapchainImage(uint32_t eyeIndex, uint32_t imgIndex,
void* texture) = 0;
51 virtual void GetDepthSwapchainImage(uint32_t eyeIndex, uint32_t imgIndex,
void* texture) = 0;
59 virtual void EnumerateColorSwapchainImages(XrSwapchain swapchain, uint32_t eyeIndex) = 0;
60 virtual void EnumerateDepthSwapchainImages(XrSwapchain swapchain, uint32_t eyeIndex) = 0;
66 uint32_t GetChainLength(XrSwapchain swapchain);
73 virtual const std::vector<int64_t>& GetSupportedColorFormats() = 0;
74 virtual const std::vector<int64_t>& GetSupportedDepthFormats() = 0;
89 virtual const void* GetGraphicsBinding() = 0;
94 virtual const char* GetBackendExtensionName() = 0;
112 VTK_ABI_NAMESPACE_END
Singleton class that holds a collection of utility functions and member variables to communicate with...
abstract base class for most VTK objects
OpenXR manager graphics implementation.
Defines the OpenXR types and extensions common to all platforms.