Panda3D
 All Classes Functions Variables Enumerations
wdxGraphicsBuffer9.I
1 // Filename: wdxGraphicsBuffer9.I
2 // Created by: zhao (29Sept12)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 ////////////////////////////////////////////////////////////////////
16 // Function: wdxGraphicsBuffer9::get_supports_render_texture
17 // Access: Published, Virtual
18 // Description: Returns true if this particular GraphicsOutput can
19 // render directly into a texture, or false if it must
20 // always copy-to-texture at the end of each frame to
21 // achieve this effect.
22 ////////////////////////////////////////////////////////////////////
23 INLINE bool wdxGraphicsBuffer9::
25  // DX9 buffers can always bind-to-texture.
26  return true;
27 }
virtual bool get_supports_render_texture() const
Returns true if this particular GraphicsOutput can render directly into a texture, or false if it must always copy-to-texture at the end of each frame to achieve this effect.