#include <shader_map.h>
Public Types |
|
enum |
Type { Undefined = 0, Scalar, Integer, Vector, Color, Transform, Scalar_array = 16, Integer_array, String } |
all the map field types.
More... |
|
Public Member Functions |
|
Map_field_type () | |
constructor, unassigned Type. |
|
Map_field_type ( Type type) | |
constructor from a Type. |
|
Map_field_type (const Map_field_type &type) | |
copy constructor. |
|
Map_field_type & | operator= (const Type &rhs) |
copy assignment operator (Type). |
|
Map_field_type & | operator= (const Map_field_type &rhs) |
copy assignment operator (Map_field_type). |
|
bool | operator== (const Type rhs) const |
equality operator (Type). |
|
bool | operator== (const Map_field_type &rhs) const |
equality operator (Map_field_type). |
|
bool | operator!= (const Type rhs) const |
inequality operator (Type). |
|
bool | operator!= (const Map_field_type &rhs) const |
inequality operator (Map_field_type). |
|
Type | type () const |
returns the field type as Type. |
The Map_field_type is an enumerative class which is meant to list all possible field types for maps.
mi::shader_v3::Map_field_type::Map_field_type | ( | Type | type | ) | [inline] |
constructor from a Type.
type | is the assigned Type |
mi::shader_v3::Map_field_type::Map_field_type | ( | const Map_field_type & | type | ) | [inline] |
copy constructor.
type | is the Map_field_type to copy |
Map_field_type& mi::shader_v3::Map_field_type::operator= | ( | const Type & | rhs | ) | [inline] |
copy assignment operator (Type).
rhs | the Type to copy |
Map_field_type& mi::shader_v3::Map_field_type::operator= | ( | const Map_field_type & | rhs | ) | [inline] |
copy assignment operator (Map_field_type).
rhs | the Map_field_type to copy |
References m_type.
bool mi::shader_v3::Map_field_type::operator== | ( | const Type | rhs | ) | const [inline] |
equality operator (Type).
rhs | is the Type to compare to |
bool mi::shader_v3::Map_field_type::operator== | ( | const Map_field_type & | rhs | ) | const [inline] |
equality operator (Map_field_type).
rhs | is the Map_field_type to compare to |
References m_type.
bool mi::shader_v3::Map_field_type::operator!= | ( | const Type | rhs | ) | const [inline] |
inequality operator (Type).
rhs | is the Type to compare to |
bool mi::shader_v3::Map_field_type::operator!= | ( | const Map_field_type & | rhs | ) | const [inline] |
inequality operator (Map_field_type).
rhs | is the Map_field_type to compare to |
References m_type.
Type mi::shader_v3::Map_field_type::type | ( | ) | const [inline] |
returns the field type as Type.
Copyright © 1986-2010 by
mental images GmbH