#include <shader_bsdf.h>
Public Member Functions | |
| Access_bsdf (miState *state) | |
| Access_bsdf () | |
| ~Access_bsdf () | |
| const Bsdf * | operator-> () const |
| Allows the access to be used like a pointer. | |
| bool | valid () const |
| void | reset (miState *state=0) |
A read-only Bsdf handle.
Note that this must be used thread-locally
| mi::shader_v3::Access_bsdf::Access_bsdf | ( | miState * | state | ) | [inline] |
| mi::shader_v3::Access_bsdf::Access_bsdf | ( | ) | [inline] |
Creates an invalid Bsdf access.
The Access_bsdf::reset function must be called before this access can be used.
| mi::shader_v3::Access_bsdf::~Access_bsdf | ( | ) | [inline] |
Destroys the access.
All acquired resources are released.
| void mi::shader_v3::Access_bsdf::reset | ( | miState * | state = 0 | ) | [inline] |
| bool mi::shader_v3::Access_bsdf::valid | ( | ) | const [inline] |
Checks if the access is valid.
true if a Bsdf instance was found on construction, false otherwise. Copyright © 1986, 2015 NVIDIA ARC GmbH. All rights reserved.