#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) |
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.
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-2010 by
mental images GmbH