Smart pointer to a map lookup. It defines a dereference operator which provides access to the methods of the wrapped Map_lookup_base object. More...
#include <shader_map.h>
Public Member Functions | |
Map_lookup (const Access_map &map, Map_status *status=0) | |
attaches the lookup to a read-only map. | |
Map_lookup (const Map_lookup &other, Map_status *status=0) | |
copy constructor. | |
~Map_lookup () | |
destructor, deletes the lookup. | |
Map_lookup & | operator= (const Map_lookup &other) |
copy assignment operator. | |
Map_lookup_base * | operator-> () |
dereference operator. |
Smart pointer to a map lookup. It defines a dereference operator which provides access to the methods of the wrapped Map_lookup_base object.
mi::shader_v3::Map_lookup::Map_lookup | ( | const Access_map & | map, |
Map_status * | status = 0 |
||
) | [inline] |
attaches the lookup to a read-only map.
Map_lookup wrapper class.
map | is the map to attach to |
status | is a status code |
mi::shader_v3::Map_lookup::Map_lookup | ( | const Map_lookup & | other, |
Map_status * | status = 0 |
||
) | [inline] |
copy constructor.
other | is the lookup to copy |
status | is a status code |
Map_lookup_base * mi::shader_v3::Map_lookup::operator-> | ( | ) | [inline] |
dereference operator.
Map_lookup & mi::shader_v3::Map_lookup::operator= | ( | const Map_lookup & | other | ) | [inline] |
copy assignment operator.
other | is the lookup to copy |
References mi::shader_v3::Map_lookup_base::release().
Copyright © 1986, 2015 NVIDIA ARC GmbH. All rights reserved.