mi::shader_v3::Map_declaration Class Reference
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>
List of
all members.
Detailed Description
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.
Constructor & Destructor Documentation
mi::shader_v3::Map_declaration::Map_declaration |
( |
const miUint |
dimension = 3 |
) |
[inline] |
smart pointer to a new map declaration.
Map_declaration wrapper class.
- Parameters:
-
|
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.
- Parameters:
-
|
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.
- Parameters:
-
|
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.
- Parameters:
-
|
map_element |
element to get a copy of the declaration from |
|
status |
is a status code |
copy constructor.
- Parameters:
-
|
other |
is the declaration to copy |
|
status |
is a status code |
References m_map_declaration.
Member Function Documentation
dereference operator.
- Returns:
- the map declaration object
const dereference operator.
- Returns:
- the map declaration object