Smart pointer (access-only) to a map in the DB or to a map to be read from file. It defines a dereference operator which provides access to the const methods of the wrapped Map_base object. More...
#include <shader_map.h>
Public Member Functions | |
Access_map (const miTag tag) | |
smart pointer to a map in the DB. | |
Access_map (const char *filename, Map_status *status=0) | |
smart pointer to a map to be read from file. | |
~Access_map () | |
release resources, unpin DB tag (if in the DB). | |
const Map_base * | operator-> () |
dereference operator. | |
const Map_base * | operator-> () const |
const dereference operator. | |
miTag | get_tag () const |
returns the tag of the map in the DB. | |
miTag | store () |
stores the map in the DB (if not in the DB already). |
Smart pointer (access-only) to a map in the DB or to a map to be read from file. It defines a dereference operator which provides access to the const methods of the wrapped Map_base object.
mi::shader_v3::Access_map::Access_map | ( | const miTag | tag | ) | [inline] |
mi::shader_v3::Access_map::Access_map | ( | const char * | filename, |
Map_status * | status = 0 |
||
) | [inline] |
smart pointer to a map to be read from file.
filename | file name of the map to read |
status | a status code |
miTag mi::shader_v3::Access_map::get_tag | ( | ) | const [inline] |
returns the tag of the map in the DB.
References mi::shader_v3::Access_map_dbhandle::get_tag().
const Map_base * mi::shader_v3::Access_map::operator-> | ( | ) | [inline] |
dereference operator.
const Map_base * mi::shader_v3::Access_map::operator-> | ( | ) | const [inline] |
const dereference operator.
miTag mi::shader_v3::Access_map::store | ( | ) | [inline] |
stores the map in the DB (if not in the DB already).
References mi::shader_v3::Access_map_dbhandle::store().
Copyright © 1986, 2015 NVIDIA ARC GmbH. All rights reserved.