Ogre3D_DX9_BackbufferGrabber.cpp 336 B

12345678
  1. #include "Ogre3D_DX9_BackbufferGrabber.h"
  2. void Ogre3D_DX9_BackbufferGrabber::InitBackbufferGrabber(Ogre::RenderWindow* renderWindow, int _width, int _height)
  3. {
  4. LPDIRECT3DDEVICE9 DX9Device;
  5. renderWindow->getCustomAttribute("D3DDEVICE", &DX9Device);
  6. DX9_BackbufferGrabber::InitBackbufferGrabber(DX9Device, _width, _height);
  7. }
粤ICP备19079148号