15 #ifndef vtkWin32OpenGLDXRenderWindow_h
16 #define vtkWin32OpenGLDXRenderWindow_h
18 #include "vtkRenderingOpenGL2Module.h"
24 struct ID3D11Texture2D;
26 VTK_ABI_NAMESPACE_BEGIN
53 void RegisterSharedTexture(
unsigned int textureHandle);
54 void UnregisterSharedTexture();
75 void BlitToTexture(ID3D11Texture2D* texture);
82 ID3D11Device* GetDevice();
89 ID3D11Texture2D* GetD3DSharedTexture();
112 HANDLE DeviceHandle = 0;
114 unsigned int TextureId = 0;
116 HANDLE GLSharedTextureHandle = 0;
118 LUID AdapterId = { 0, 0 };
120 VTK_ABI_NAMESPACE_END
static vtkWin32OpenGLRenderWindow * New()
void SetAdapterId(LUID uid)
Specify the DGXI adapter to be used for initialization.
void Initialize() override
Initialize the rendering window.
VTK render window providing OpenGL-DirectX interop.
a simple class to control print indentation
void SetSize(int width, int height) override
Set the size (width and height) of the rendering window in screen coordinates (in pixels)...
virtual void SetMultiSamples(int)
Set / Get the number of multisamples to use for hardware antialiasing.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.