lux::Primer Class Reference

#include <primer.h>

Inheritance diagram for lux::Primer:

lux::Material

List of all members.

Public Member Functions

 Primer (boost::shared_ptr< Texture< float > > bump)
BSDFGetBSDF (const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading) const

Static Public Member Functions

static MaterialCreateMaterial (const Transform &xform, const TextureParams &mp)

Public Attributes

boost::shared_ptr< Texture
< float > > 
bumpMap


Detailed Description

Definition at line 31 of file primer.h.


Constructor & Destructor Documentation

lux::Primer::Primer ( boost::shared_ptr< Texture< float > >  bump  )  [inline]

Definition at line 33 of file primer.h.

Referenced by CreateMaterial().


Member Function Documentation

Material * Primer::CreateMaterial ( const Transform xform,
const TextureParams mp 
) [static]

Definition at line 58 of file primer.cpp.

References bumpMap, lux::TextureParams::GetFloatTexture(), and Primer().

BSDF * Primer::GetBSDF ( const DifferentialGeometry dgGeom,
const DifferentialGeometry dgShading 
) const


Member Data Documentation

boost::shared_ptr<Texture<float> > lux::Primer::bumpMap

Definition at line 35 of file primer.h.

Referenced by CreateMaterial(), and GetBSDF().


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 14:17:04 2009 for lux by  doxygen 1.5.9