My Project
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Enumerations
Pages
parameters_save.h
Go to the documentation of this file.
1
/**************************************************************************/
2
/* Copyright 2009 Tim Day */
3
/* */
4
/* This file is part of Fracplanet */
5
/* */
6
/* Fracplanet is free software: you can redistribute it and/or modify */
7
/* it under the terms of the GNU General Public License as published by */
8
/* the Free Software Foundation, either version 3 of the License, or */
9
/* (at your option) any later version. */
10
/* */
11
/* Fracplanet is distributed in the hope that it will be useful, */
12
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
13
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
14
/* GNU General Public License for more details. */
15
/* */
16
/* You should have received a copy of the GNU General Public License */
17
/* along with Fracplanet. If not, see <http://www.gnu.org/licenses/>. */
18
/**************************************************************************/
19
24
#ifndef _parameters_save_h_
25
#define _parameters_save_h_
26
27
class
ParametersRender
;
28
30
class
ParametersSave
31
{
32
public
:
33
35
ParametersSave
(
const
ParametersRender
*);
36
38
~ParametersSave
();
39
41
bool
pov_atmosphere
;
42
44
bool
pov_sea_object
;
45
47
bool
blender_per_vertex_alpha
;
48
50
bool
texture_shaded
;
51
53
uint
texture_height
;
54
56
const
ParametersRender
*
const
parameters_render
;
57
};
58
59
#endif
ParametersSave::texture_shaded
bool texture_shaded
Whether textures should include shading.
Definition:
parameters_save.h:50
ParametersSave::parameters_render
const ParametersRender *const parameters_render
Save for blender needs access to some of these.
Definition:
parameters_save.h:56
ParametersSave::pov_sea_object
bool pov_sea_object
Whether to emit a single sea-level object to POV file.
Definition:
parameters_save.h:44
ParametersSave
Aggregates controllable parameters for all things related to save.
Definition:
parameters_save.h:30
ParametersRender
Aggregates controllable parameters for all things related to OpenGL rendering.
Definition:
parameters_render.h:32
ParametersSave::texture_height
uint texture_height
Size of texture for texture save (is height; width is implicit).
Definition:
parameters_save.h:53
ParametersSave::~ParametersSave
~ParametersSave()
Destructor.
Definition:
parameters_save.cpp:33
ParametersSave::blender_per_vertex_alpha
bool blender_per_vertex_alpha
Whether to try using per-vertex-alpha in the blender output.
Definition:
parameters_save.h:47
ParametersSave::ParametersSave
ParametersSave(const ParametersRender *)
Constructor.
Definition:
parameters_save.cpp:24
ParametersSave::pov_atmosphere
bool pov_atmosphere
Whether to emit an atmosphere object to POV file.
Definition:
parameters_save.h:41
Generated on Tue Sep 16 2014 14:49:55 for My Project by
1.8.7