Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
ShadingVariable Class Reference

Classes

struct  Value
 
struct  Variable
 

Public Types

enum  Operator {
  OPERATOR_REPLACE,
  OPERATOR_REPLACE_PRE,
  OPERATOR_REPLACE_POST,
  OPERATOR_ADD_PRE,
  OPERATOR_ADD_POST,
  OPERATOR_MULTIPLY_PRE,
  OPERATOR_MULTIPLY_POST,
  OPERATOR_SUBTRACT_PRE,
  OPERATOR_SUBTRACT_POST,
  OPERATOR_DIVIDE_PRE,
  OPERATOR_DIVIDE_POST,
  OPERATOR_POWER_PRE,
  OPERATOR_POWER_POST,
  OPERATOR_MODULO_PRE,
  OPERATOR_MODULO_POST,
  OPERATOR_COUNT
}
 
enum  Flag {
  FLAG_IGNORE_IF_UNDEFINED = 1 << 0,
  FLAG_WEAK = 1 << 1,
  FLAG_COUNT
}
 

Static Public Member Functions

static void strip_operator (CoreString &text, Operator &op)
 
static void strip_flags (CoreString &text, int &flags)
 
static CoreString get_operator_name (const Operator &op, const bool &with_prefix=true)
 
static CoreString get_flag_name (const Flag &f, const bool &with_prefix=true)
 

Static Public Attributes

static const unsigned int INVALID_INDEX = CORE_INVALID_INDEX
 
static const ShadingVariable::Value s_no_value = { 0.0, UniqueString() }