|
Nebula
|
#include <materialvariant.h>
Public Member Functions | |
| MaterialVariant () | |
| Nullptr constructor. | |
| MaterialVariant (const MaterialVariant &rhs) | |
| Copy constructor. | |
| void | operator= (const MaterialVariant &rhs) |
| Assign operator. | |
| MaterialVariant (MaterialVariant &&rhs) | |
| Move constructor. | |
| void | operator= (MaterialVariant &&rhs) |
| Move operator. | |
| MaterialVariant (std::nullptr_t) | |
| Nullptr constructor. | |
| const void * | Get () const |
| Get pointer. | |
| template<typename T> | |
| const T & | ConstGet () const |
| Const get. | |
| template<typename T> | |
| T & | Get () |
| Mutable get. | |
| template<typename T> | |
| void | Set (const T &data, void *mem) |
| Set. | |
| template<typename T> | |
| void | Set (void *mem) |
| Set from raw memory. | |
Public Attributes | |
| bool | needsDeref |
| void * | mem |
| SizeT | size |
|
inline |
Nullptr constructor.
|
inline |
Copy constructor.
|
inline |
Move constructor.
|
inline |
Nullptr constructor.
|
inline |
Const get.
|
inline |
Mutable get.
|
inline |
Get pointer.
|
inline |
Assign operator.
|
inline |
Move operator.
|
inline |
Set.
|
inline |
Set from raw memory.
| void* Materials::MaterialVariant::mem |
| bool Materials::MaterialVariant::needsDeref |
| SizeT Materials::MaterialVariant::size |