OpenVDB
12.0.0
|
Partial specialization when Codec is not known at compile-time to use the supplied functor instead. More...
#include <openvdb/points/AttributeArray.h>
Public Types | |
using | GetterPtr = ValueType(*)(const AttributeArray *array, const Index n) |
using | SetterPtr = void(*)(AttributeArray *array, const Index n, const ValueType &value) |
Static Public Member Functions | |
static ValueType | get (GetterPtr functor, const AttributeArray *array, const Index n) |
Getter that calls the supplied functor. More... | |
static void | set (SetterPtr functor, AttributeArray *array, const Index n, const ValueType &value) |
Setter that calls the supplied functor. More... | |
Partial specialization when Codec is not known at compile-time to use the supplied functor instead.
using GetterPtr = ValueType (*)(const AttributeArray* array, const Index n) |
using SetterPtr = void (*)(AttributeArray* array, const Index n, const ValueType& value) |
|
inlinestatic |
Getter that calls the supplied functor.
|
inlinestatic |
Setter that calls the supplied functor.