awSupport.ParameterConstants Class Reference


Detailed Description

Instead of hardcoding the strings for the parameter names and values in some common shaders, here's a way to access them from both python and C++.

#include <classaw_support_1_1_parameter_constants.h>

List of all members.

Public Member Functions

ParameterConstants  instance ()
  Singleton access with lazy creation and explicit destruction.
  destruct ()
str  getFilenameSeparator ()
bool  isProcedureMap (str name)
int  getProcedureIndex (str name)
str  getValue (int)
str  getValueLowerCase (int)
str  operator[] (int i)

Public Attributes

int  procedureMapsNumber
str  procedureMaps

Protected Member Functions

  __init__ ()
  __del__ ()

Member Function Documentation

ParameterConstants awSupport.ParameterConstants.instance ( )

Singleton access with lazy creation and explicit destruction.

awSupport.ParameterConstants.destruct ( )
str awSupport.ParameterConstants.getFilenameSeparator ( )
bool awSupport.ParameterConstants.isProcedureMap ( str  name )
int awSupport.ParameterConstants.getProcedureIndex ( str  name )
str awSupport.ParameterConstants.getValue ( int  )
str awSupport.ParameterConstants.getValueLowerCase ( int  )
str awSupport.ParameterConstants.operator[] ( int  i )
awSupport.ParameterConstants.__init__ ( ) [protected]
awSupport.ParameterConstants.__del__ ( ) [protected]

Member Data Documentation


awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants
awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants awSupport.ParameterConstants