HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GR_DrawParms.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GR_DrawParms.h ( GR Library, C++)
7  *
8  * COMMENTS:
9  * Parameter class containing all parameters for GR_Primitive::draw()
10  */
11 #ifndef GR_DrawParms_h
12 #define GR_DrawParms_h
13 
14 class GR_DisplayOption;
15 class RE_MaterialAtlas;
16 
18 {
19 public:
26 
28  const RE_MaterialAtlas *m,
29  int def_mat_id,
30  bool inst,
31  int inst_group,
32  bool hide_inst = false)
33  : draw_instanced(inst),
34  opts(o),
35  materials(m),
36  default_mat_id(def_mat_id),
37  instance_group(inst_group),
38  hide_obj_instances(hide_inst)
39  {}
40 };
41 
42 #endif
bool hide_obj_instances
Definition: GR_DrawParms.h:25
int instance_group
Definition: GR_DrawParms.h:24
GR_DrawParms(const GR_DisplayOption *o, const RE_MaterialAtlas *m, int def_mat_id, bool inst, int inst_group, bool hide_inst=false)
Definition: GR_DrawParms.h:27
const GR_DisplayOption * opts
Definition: GR_DrawParms.h:20
const RE_MaterialAtlas * materials
Definition: GR_DrawParms.h:21
int default_mat_id
Definition: GR_DrawParms.h:22
bool draw_instanced
Definition: GR_DrawParms.h:23