Smart pointer to a map declaration, which allows to retrieve a copy of the declaration of an existing map, or to create a new map declaration. It defines a dereference operator which provides access to the methods of the wrapped Map_declaration_base object. More...
#include <shader_map.h>
Public Member Functions | |
Map_declaration (const miUint dimension=3) | |
smart pointer to a new map declaration. | |
Map_declaration (const Access_map &map, Map_status *status=0) | |
gets a copy of the declaration of the given map. | |
Map_declaration (const Edit_map &map, Map_status *status=0) | |
gets a copy of the declaration of the given map. | |
Map_declaration (const Map_element &map_element, Map_status *status=0) | |
gets a copy of the declaration of the given element. | |
Map_declaration (const Map_declaration &other, Map_status *status=0) | |
copy constructor. | |
~Map_declaration () | |
destructor, deletes the declaration. | |
Map_declaration & | operator= (const Map_declaration &other) |
copy assignment operator. | |
Map_declaration_base * | operator-> () |
dereference operator. | |
const Map_declaration_base * | operator-> () const |
const dereference operator. |
Smart pointer to a map declaration, which allows to retrieve a copy of the declaration of an existing map, or to create a new map declaration. It defines a dereference operator which provides access to the methods of the wrapped Map_declaration_base object.
mi::shader_v3::Map_declaration::Map_declaration | ( | const miUint | dimension = 3 | ) | [inline] |
smart pointer to a new map declaration.
Map_declaration wrapper class.
dimension | is the dimension of the position |
mi::shader_v3::Map_declaration::Map_declaration | ( | const Access_map & | map, |
Map_status * | status = 0 |
||
) | [inline] |
gets a copy of the declaration of the given map.
map | is the map to get a copy of the declaration from |
status | is a status code |
mi::shader_v3::Map_declaration::Map_declaration | ( | const Edit_map & | map, |
Map_status * | status = 0 |
||
) | [inline] |
gets a copy of the declaration of the given map.
map | is the map to get a copy of the declaration from |
status | is a status code |
mi::shader_v3::Map_declaration::Map_declaration | ( | const Map_element & | map_element, |
Map_status * | status = 0 |
||
) | [inline] |
gets a copy of the declaration of the given element.
map_element | element to get a copy of the declaration from |
status | is a status code |
mi::shader_v3::Map_declaration::Map_declaration | ( | const Map_declaration & | other, |
Map_status * | status = 0 |
||
) | [inline] |
copy constructor.
other | is the declaration to copy |
status | is a status code |
Map_declaration_base * mi::shader_v3::Map_declaration::operator-> | ( | ) | [inline] |
dereference operator.
const Map_declaration_base * mi::shader_v3::Map_declaration::operator-> | ( | ) | const [inline] |
const dereference operator.
Map_declaration & mi::shader_v3::Map_declaration::operator= | ( | const Map_declaration & | other | ) | [inline] |
copy assignment operator.
other | is the declaration to copy |
References mi::shader_v3::Map_declaration_base::release().
Copyright © 1986, 2015 NVIDIA ARC GmbH. All rights reserved.