OpenVDB: VolumeKernelNode Struct Reference

OpenVDB 12.1.1

Loading...
Searching...
No Matches
VolumeKernelNode Struct Reference

The third volume kernel, providing an agnostic way to modify a single tile value without passing through the buffer states. Note that this kernel is mainly utility and one of the value kernels should almost always be preferred. More...

`#include <openvdb_ax/codegen/VolumeKernelFunctions.h>`

## Public Types
using | Signature
using | FunctionTraitsT = codegen::FunctionTraits<Signature>

## Static Public Member Functions
static const std::array< std::string, N_ARGS > & | argumentKeys ()
static const char * | getDefaultName ()

## Static Public Attributes
static const size_t | N_ARGS = FunctionTraitsT::N_ARGS

## Detailed Description

The third volume kernel, providing an agnostic way to modify a single tile value without passing through the buffer states. Note that this kernel is mainly utility and one of the value kernels should almost always be preferred.

argument structure is as follows: 1) - A void pointer to the ax::CustomData 2) - A pointer to an array of three ints representing the current voxel coord being accessed 3) - A void pointer to a vector of void pointers, representing an array of grid accessors 4) - A void pointer to a vector of void pointers, representing an array of grid transforms 5) - The index of currently executing volume in the list of write accessible volumes. 5) - A unique write accessor to the target volume.

## Member Typedef Documentation

## ◆ FunctionTraitsT

using FunctionTraitsT = codegen::FunctionTraits<Signature>

## ◆ Signature

using Signature

Initial value:
void(const void* const,
const int32_t (*)[3],
void**,
const void* const*,
int64_t,
void*)

## Member Function Documentation

## ◆ argumentKeys()

const std::array< std::string, N_ARGS > & argumentKeys | ( |  | ) |
| static

## ◆ getDefaultName()

const char * getDefaultName | ( |  | ) |
| static

## Member Data Documentation

## ◆ N_ARGS

const size_t N_ARGS = FunctionTraitsT::N_ARGS
| static