Panda3D

wdxGraphicsBuffer9.I
Go to the documentation of this file.
1 /**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file wdxGraphicsBuffer9.I
10 * @author zhao
11 * @date 2012-09-29
12 */
13
14 /**
15 * Returns true if this particular GraphicsOutput can render directly into a
16 * texture, or false if it must always copy-to-texture at the end of each
17 * frame to achieve this effect.
18 */
19 INLINE bool wdxGraphicsBuffer9::
20 get_supports_render_texture() const {
21 // DX9 buffers can always bind-to-texture.
22 return true;
23 }
wdxGraphicsBuffer9::get_supports_render_texture
virtual bool get_supports_render_texture() const
Returns true if this particular GraphicsOutput can render directly into a texture,...
Definition: wdxGraphicsBuffer9.I:20