Namespaces | Defines | Functions | Variables

_src_shader_conf.cc File Reference

Module configuration. More...

#include "base/module.hh"
#include "base/conf.hh"
#include "base/conf_template_macros.hh"
#include "base/misc.hh"
#include "base/stream.hh"
#include "math/module.hh"
#include "math/defs_vector.hh"
#include "shader/module.hh"
#include "shader/conf.hh"
#include "shader/defs.hh"

Namespaces

namespace  shader
 

shader module.


namespace  shader::global

Defines

#define SHADER_CONF_CC   1

Functions

std::ostream & shader::operator<< (std::ostream &strm, const Conf &conf)

Variables

Conf shader::global::gConf

Detailed Description

Module configuration.

LastChangedDate:
2011-04-23 21:07:07 -0400 (Sat, 23 Apr 2011)
Author:
Jim E. Brooks http://www.palomino3d.org Another subtle initiatialization problem:

This was unusually put here in conf.cc instead of defs.hh. namespace shader { namespace defs { osg::Vec3 DEFAULT_LIGHT0_POSITION(x,y,z); } // namespace defs } // namespace shader

Conf::Conf( void ) mLight0Position(shader::defs::DEFAULT_LIGHT0_POSITION)

DEFAULT_LIGHT_POSITION might be initialized AFTER the Conf ctor executes! So try to write only basic constants in defs if possible.


Define Documentation

#define SHADER_CONF_CC   1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10