OpenVDB 10.0.1
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
ComputeKernel Struct Reference

The function definition and signature which is built by the ComputeGenerator. More...

#include <openvdb_ax/codegen/ComputeGenerator.h>

Public Types

using Signature = void(const void *const)
 The signature of the generated function. More...
 
using FunctionTraitsT = codegen::FunctionTraits< Signature >
 

Static Public Member Functions

static const std::array< std::string, N_ARGS > & getArgumentKeys ()
 The argument key names available during code generation. More...
 
static std::string getDefaultName ()
 

Static Public Attributes

static const std::string Name
 The name of the generated function. More...
 
static const size_t N_ARGS = FunctionTraitsT::N_ARGS
 

Detailed Description

The function definition and signature which is built by the ComputeGenerator.

The argument structure is as follows:

1) - A void pointer to the CustomData

Member Typedef Documentation

◆ FunctionTraitsT

◆ Signature

using Signature = void(const void* const)

The signature of the generated function.

Member Function Documentation

◆ getArgumentKeys()

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

The argument key names available during code generation.

◆ getDefaultName()

static std::string getDefaultName ( )
static

Member Data Documentation

◆ N_ARGS

const size_t N_ARGS = FunctionTraitsT::N_ARGS
static

◆ Name

const std::string Name
static

The name of the generated function.