2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/Graphics/GrD3D.h $
15 * Include file for our Direct3D renderer
18 * Revision 1.2 2002/06/09 04:41:13 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 6 9/13/99 11:25p Dave
26 * Fixed problem with mode-switching and D3D movies.
28 * 5 9/04/99 8:00p Dave
29 * Fixed up 1024 and 32 bit movie support.
31 * 4 6/29/99 10:35a Dave
32 * Interface polygon bitmaps! Whee!
34 * 3 1/15/99 11:29a Neilk
35 * Fixed D3D screen/texture pixel formatting problem.
37 * 2 10/07/98 10:52a Dave
40 * 1 10/07/98 10:49a Dave
42 * 2 5/12/97 12:27p John
43 * Restructured Graphics Library to add support for multiple renderers.
45 * 1 5/01/97 2:17p John
54 void gr_d3d_cleanup();
56 // call this to safely fill in the texture shift and scale values for the specified texture type (Gr_t_*)
57 void gr_d3d_get_tex_format(int alpha);
60 void gr_d3d_bitmap(int x, int y);
61 void gr_d3d_bitmap_ex(int x, int y, int w, int h, int sx, int sy);
63 // create all rendering objects (surfaces, d3d device, viewport, etc)
64 int gr_d3d_create_rendering_objects(int clear);
65 void gr_d3d_release_rendering_objects();
68 void gr_d3d_set_initial_render_state();